| |||||||
FRAMES NO FRAMES |
UIComponentClass: org.apache.myfaces.tobago.component.UIButton
RendererType: Button
Supported facets:
Tag Information | |
Tag Class | org.apache.myfaces.tobago.internal.taglib.ButtonTag |
TagExtraInfo Class | org.apache.myfaces.tobago.internal.taglib.component.CommandTagExtraInfo |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
accessKey | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Character )
| The access key of this control. Type: java.lang.Character |
action | false | false | javax.el.MethodExpression
(signature must match java.lang.Object action() )
| Action to invoke when clicked. This must be a MethodBinding or a String representing the application action to invoke when this component is activated by the user. The MethodBinding must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. The string is directly passed to the navigation handler. |
actionListener | false | false | javax.el.MethodExpression
(signature must match void actionListener(javax.faces.event.ActionEvent) )
| MethodBinding 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. |
binding | false | false | javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
| The value binding expression linking this component to a property in a backing bean.
Warning: For the tobago extension library tx the binding differs from JSP and Facelets:
Type: javax.faces.component.UIComponent |
defaultCommand | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| If true the command is executed as default -- for example if the
user presses the enter key inside a related input field. Type: boolean Default: false |
disabled | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Flag indicating that this element is disabled. Type: boolean Default: false |
id | false | true | java.lang.String | The component identifier for this component.
This value must be unique within the closest parent component that is a naming container. Type: java.lang.String |
image | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Url to an image to display. Type: java.lang.String |
immediate | false | false | javax.el.ValueExpression
(must evaluate to java.lang.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. Type: boolean Default: false |
jsfResource | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Flag indicating that the resource referenced by the resource attribute is a jsf resource.
That means that the url has to be processed to change the prefix or suffix (e. g. *.jsf or
/faces/*). Default is false. Type: boolean Default: false |
label | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Text value to display as label.
If text contains an underscore the next character is used as accesskey (if configured so and possible). Type: java.lang.String |
link | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Link to an arbitrary URL, either an internal link or an external link.
Type: java.lang.String |
markup | false | false | javax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.context.Markup )
| Indicate markup of this component.
The allowed markups can be defined or overridden in the theme.
The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer. Type: org.apache.myfaces.tobago.context.Markup |
omit | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Flag indicating that the action of this element, will not be executed from client side
(e. g. when the user clicks a button.
When setting this value to true, the action will not be executed by the Tobago, but it can executed
by JavaScript.
This attribute is useful, when you want to add JavaScript event handlers to commands manually.
In this case you usually don't want a submit with a full reload of the page. Type: boolean Default: false |
onclick | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Script to be invoked when clicked Type: java.lang.String |
rendered | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent form submit. Type: boolean Default: true |
renderedPartially | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String[] )
| Indicate the partially rendered components in a case of a submit. The search depends on the number of prefixed colons in the relativeId:
If a literal is specified: to use more than one identifier the identifiers must be space delimited. Using this in a UISheet or UITabGroup component this list indicates components to update when calling internal AJAX requests like sort or paging commands. Don't forget to add the sheet-id or tagGroup-id in that case, if needed.
You can also use |
resource | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Link to an internal resource.
Resources will be processed by the resource management.
E. g. define help.html and it will be served help_es.html or help_de.html if available.
For JSF-Pages you have to set the jsfResource attribute. Type: java.lang.String |
tabIndex | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Integer )
| Controls the navigation of the focus through the
input controls on a page with the Tab-Key.
The navigation starts from the element with
the lowest tabIndex value to the element with the highest value.
Elements that have identical tabIndex values should be navigated
in the order they appear in the character stream
Elements that are disabled or with a negative tabIndex
do not participate in the tabbing order. Type: java.lang.Integer |
target | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of a frame where the resource retrieved via this hyperlink is to be
displayed. Type: java.lang.String |
tip | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Text value to display as tooltip. Type: java.lang.String |
transition | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Specify, if the command calls an JSF-Action.
Useful to switch off the Double-Submit-Check and Waiting-Behavior. Type: boolean Default: true |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |