alloy

Tag commandButton

Component Information 
InfoValue
Component Typecom.liferay.faces.alloy.component.commandbutton.CommandButton
Handler ClassNone
Renderer Typecom.liferay.faces.alloy.component.commandbutton.CommandButtonRenderer
DescriptionNone
Attributes 
NameRequiredTypeDescription
accesskeyfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying a hot key character for the element.
actionfalsejavax.el.MethodExpression
(signature must match java.lang.Object action())
A method that is executed when this component is clicked. The method must be public, return an Object, and take no arguments. The toString() method of the returned object is used to determine where to navigate (if at all) after the action has been performed.
actionListenerfalsejavax.el.MethodExpression
(signature must match void actionListener(javax.faces.event.ActionEvent))
A method that is executed when this component is clicked. The method must be public, return void, and take either no arguments or one ActionEvent argument.
ajaxfalsejavax.el.ValueExpression
(must evaluate to boolean)
When this flag is true, clicking on the button will cause the form to be submitted via XmlHttpRequest. The default value is true.
altfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying alternative information about the rendered HTML element.
autofocusfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
HTML passthrough attribute specifying whether or not the component should automatically recieve focus on the initial page load.
bindingfalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
An EL expression that binds the Java reference to this component in the component tree to a bean property.
dirfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying the reading direction for the element For example, right to left (RTL), or left to right (LTR).
disabledfalsejavax.el.ValueExpression
(must evaluate to boolean)
When this flag is true, the component will be disabled, and the user will be unable to interact with the component. The default value is false.
executefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Space-delimited list of component ids that are to participate in the APPLY_REQUEST_VALUES, PROCESS_VALIDATIONS, UPDATE_MODEL_VALUES, and INVOKE_APPLICATION phases of the JSF lifecycle. The following keywords may also appear in the list: @this, @form, @all, @none. The default value is "@all".
idfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A unique identifier for this component.
imagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Specifies the URL of an image.
immediatefalsejavax.el.ValueExpression
(must evaluate to boolean)
When this flag is true, this component's value must be converted and validated (immediately) during the Apply Request Values phase, instead of (later) during the PROCESS_VALIDATIONS phase.
labelfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A name for this component to be rendered to the user. This name should be localized for the user.
langfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying the language code used in the element.
onblurfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute after this component loses focus.
onchangefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute after this component's value has changed, and then it loses focus.
onclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when this component is clicked.
ondblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a double click event occurs.
onfocusfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when this component gets focus.
onkeydownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a keydown event occurs.
onkeypressfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a keypress event occurs.
onkeyupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a keyup event occurs.
onmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a mousedown event occurs.
onmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a mousemove event occurs.
onmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a mouseout event occurs.
onmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a mouseover event occurs.
onmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when a mouseup event occurs.
onselectfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript to execute when the user selects this component.
processfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Synonym for the execute attribute. The default value is "@all".
readonlyfalsejavax.el.ValueExpression
(must evaluate to boolean)
When true, this causes an attribute to be rendered as readonly="readonly", and prevents the user from changing the value of this component.
renderfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Space-delimited list of component ids that are to participate in the RENDER_RESPONSE phase of the JSF lifecycle and be re-rendered in the DOM after the response is received from the XmlHttpRequest. The following keywords may also appear in the list: @this, @form, @all, @none. The default value is "@none".
renderedfalsejavax.el.ValueExpression
(must evaluate to boolean)
When this flag is true, this component will be rendered to there response. When false, it will not be rendered to the response. The default value is true.
rolefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying the various WAI-ARIA roles that the element is used for. Since: JSF 2.2
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying the css style of the element.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
List of CSS class names (separated by spaces) that are to be rendered within the class attribute. The default value is "btn-default".
tabindexfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying where the element is located in the tabbing progression.
titlefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying the title of the element.
typefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The type of the button: button, submit (default), or reset.
updatefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Synonym for the render attribute. The default value is "@none".
valuefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The value of this component.

Output generated by Vdldoc View Declaration Language Documentation Generator.