Attributes |
Name | Required | Request-time | Type | Description |
action | no | false | javax.el.MethodExpression | MethodExpression representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns an Object (the toString() of which is called to derive the logical outcome) which is passed to the NavigationHandler for this application. |
actionListener | no | false | javax.el.MethodExpression | MethodExpression 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, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing where the event came from, but this can be useful in cases where a notification is needed that "some action happened". |
binding | no | false | javax.el.ValueExpression | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. |
disabled | no | false | boolean | If true, clicking the button does not send a request to the server, and also no page is loaded if href attribute was specified. Default = 'false'. |
href | no | false | java.lang.String | Href attribute of the anchor element. If specified and actionListener is absent, linkButton works as a normal anchor. If specified and actionListener is present, linkButton works as AJAX event source, but href may be opened in a new tab or window. |
hrefLang | no | false | java.lang.String | Standard HTML href language attribute. |
id | no | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
immediate | no | false | boolean | Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase. Default = 'false'. |
rendered | no | false | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
style | no | false | java.lang.String | The inline style of the component, rendered on the root div of the component. |
styleClass | no | false | java.lang.String | The CSS style class of the component, rendered on the root div of the component. |
tabindex | no | false | java.lang.Integer | Tabindex of the component. |
target | no | false | java.lang.String | If the link is a traditional anchor then this is the traditional target attribute. |
value | no | false | java.lang.Object | This property defines the link text visible in the component. Default = 'Default Anchor Label'. |