ICE Components
Tag commandButton


Renders an HTML "input" element.

Decode Behavior

Encode Behavior



Tag Information
Tag Classcom.icesoft.faces.component.CommandButtonTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
accesskeyfalsefalsejava.lang.StringAccess key that, when pressed, transfers focus to this element.
actionfalsefalsejava.lang.StringMethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a either a String or a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application.
actionListenerfalsefalsejava.lang.StringMethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.
altfalsefalsejava.lang.StringAlternate textual description of the element rendered by this component.
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean
dirfalsefalsejava.lang.StringDirection indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
disabledfalsefalsejava.lang.StringFlag indicating that this element must never receive focus or be included in a subsequent submit.
effectfalsefalsejava.lang.StringThe Javascript Effect
enabledOnUserRolefalsefalsejava.lang.StringIf user is in given role, this component will be rendered normally. If not, the component will be in disabled state.
idfalsefalsejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
imagefalsefalsejava.lang.StringAbsolute or relative URL of the image to be displayed for this button. If specified, this "input" element will be of type "image". Otherwise, it will be of the type specified by the "type" property with a label specified by the "value" property.
immediatefalsefalsejava.lang.StringFlag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
labelfalsefalsejava.lang.StringA localized user presentable name for this component.
langfalsefalsejava.lang.StringCode describing the language used in the generated markup for this component.
onblurfalsefalsejava.lang.StringJavascript code executed when this element loses focus.
onchangefalsefalsejava.lang.StringJavascript code executed when this element loses focus and its value has been modified since gaining focus.
onclickfalsefalsejava.lang.StringNo Description
onclickeffectfalsefalsejava.lang.StringEffect invoked on onclick event
ondblclickfalsefalsejava.lang.StringNo Description
ondblclickeffectfalsefalsejava.lang.StringEffect invoked on ondblclick event
onfocusfalsefalsejava.lang.StringJavascript code executed when this element receives focus.
onkeydownfalsefalsejava.lang.StringNo Description
onkeydowneffectfalsefalsejava.lang.StringEffect invoked on onkeydown event
onkeypressfalsefalsejava.lang.StringNo Description
onkeypresseffectfalsefalsejava.lang.StringEffect invoked on onkeypress event
onkeyupfalsefalsejava.lang.StringNo Description
onkeyupeffectfalsefalsejava.lang.StringEffect invoked on onkeyup event
onmousedownfalsefalsejava.lang.StringNo Description
onmousedowneffectfalsefalsejava.lang.StringEffect invoked on onmousedown event
onmousemovefalsefalsejava.lang.StringNo Description
onmousemoveeffectfalsefalsejava.lang.StringEffect invoked on onmousemove event
onmouseoutfalsefalsejava.lang.StringNo Description
onmouseouteffectfalsefalsejava.lang.StringEffect invoked on onmouse event
onmouseoverfalsefalsejava.lang.StringNo Description
onmouseovereffectfalsefalsejava.lang.StringEffect invoked on onmouseover event
onmouseupfalsefalsejava.lang.StringNo Description
onmouseupeffectfalsefalsejava.lang.StringEffect invoked on onmouseup event
onselectfalsefalsejava.lang.StringJavascript code executed when text within this element is selected by the user.
panelConfirmationfalsefalsejava.lang.StringThe id of the ice:panelConfirmation component linked to this button.
partialSubmitfalsefalsejava.lang.StringEnable component to perform partial submit. Default value is false.
readonlyfalsefalsejava.lang.StringFlag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled. This attribute is valid for input types "text" and "password" only. It is non-functional for other input types like "radio" or "checkbox".
renderedfalsefalsejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
renderedOnUserRolefalsefalsejava.lang.StringIf user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered.
styleClassfalsefalsejava.lang.StringThe base name for all style classes. Default value is iceCmdBtn if enabled and iceCmdBtn-dis if disabled.
tabindexfalsefalsejava.lang.StringPosition of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for this component.
typefalsefalsejava.lang.StringType of button to create. Valid values are "submit" and "reset". If not specified, or not a valid value, the default value is "submit".
valuefalsefalsejava.lang.StringThe current value of this component.
visiblefalsefalsejava.lang.StringSet the visibility of this component. When false CSS style is set to display:none

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.