<button>
element. The default type is button. Since it extends HtmlOutcomeTargetButton
it supports all the features of h:button
. The component does not need to be a child of h:form since the outcome attribute is designed to navigate via HTTP GET.Info | Value |
---|---|
Component Type | com.liferay.faces.alloy.component.button.Button |
Handler Class | None |
Renderer Type | com.liferay.faces.alloy.component.button.ButtonRenderer |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
accesskey | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| HTML passthrough attribute specifying a hot key character for the element. |
alt | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| HTML passthrough attribute specifying alternative information about the rendered HTML element. |
autofocus | false | javax.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. |
binding | false | javax.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. |
dir | false | javax.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). |
disableClientWindow | false | javax.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 |
disabled | false | javax.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 . |
fragment | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| A fragment to be appended to the navigation URL. |
id | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| A unique identifier for this component. |
image | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Specifies the URL of an image. |
includeViewParams | false | javax.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 |
lang | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| HTML passthrough attribute specifying the language code used in the element. |
onblur | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute after this component loses focus. |
onclick | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when this component is clicked. |
ondblclick | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a double click event occurs. |
onfocus | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when this component gets focus. |
onkeydown | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a keydown event occurs. |
onkeypress | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a keypress event occurs. |
onkeyup | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a keyup event occurs. |
onmousedown | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a mousedown event occurs. |
onmousemove | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a mousemove event occurs. |
onmouseout | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a mouseout event occurs. |
onmouseover | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a mouseover event occurs. |
onmouseup | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript to execute when a mouseup event occurs. |
outcome | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| A string which potentially matches the value of from-outcome key in a navigation-case. |
rendered | false | javax.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 . |
role | false | javax.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 |
style | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| HTML passthrough attribute specifying the css style of the element. |
styleClass | false | javax.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" . |
tabindex | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| HTML passthrough attribute specifying where the element is located in the tabbing progression. |
title | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| HTML passthrough attribute specifying the title of the element. |
type | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The type of the button: button (default), submit, or reset. |
value | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| The value of this component. |
Output generated by Vdldoc View Declaration Language Documentation Generator.