alloy

Tag button

Component Information 
InfoValue
Component Typecom.liferay.faces.alloy.component.button.Button
Handler ClassNone
Renderer Typecom.liferay.faces.alloy.component.button.ButtonRenderer
DescriptionNone
Attributes 
NameRequiredTypeDescription
accesskeyfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML passthrough attribute specifying a hot key character for the element.
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).
disableClientWindowfalsejavax.el.ValueExpression
(must evaluate to boolean)
When this flag is true, the client window param will not be inlcuded on the navigation URL. Note: the ClientWindow feature is disabled by default, so this attribute will have no effect unless ClientWindow is enabled. Since: JSF 2.2
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.
fragmentfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A fragment to be appended to the navigation URL.
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.
includeViewParamsfalsejavax.el.ValueExpression
(must evaluate to boolean)
When this flag is true, view parameters (specified via f:viewParam tags) will be included on the navigation URL
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.
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.
outcomefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string which potentially matches the value of from-outcome key in a navigation-case.
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-secondary".
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 (default), submit, or reset.
valuefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The value of this component.

Output generated by Vdldoc View Declaration Language Documentation Generator.