|
9. Seam Tag Reference
Documentation
>
Seam
>
Seam Tag Reference
>
Seam Tag Library
> s:button
|
s:button |
|
<p>
The <s:button> tag displays an HTML button element on the page. This Seam UI control does not submit an HTML form when included on the page. Similar to
<a href="seam-link.html"><em><a href="seam-link.html"><strong><s:link> </strong></a></em></a>
, this tag supports Seam conversation propagation when clicked.
</p>
Example
<s:button value="Hello"></s:button>
HTML Output
<input type="button" id="_id2" onclick="location.href='/index.jsf'" value="Hello" />
|
Tag Attributes
| accesskey |
Text |
| |
| This attribute assigns an access key to an element. An access key is a single character from the document character set. Note:Authors should consider the input method of the expected reader when specifying an accesskey
|
| action |
Text |
| |
| MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by you, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property
|
| actionListener |
Text |
| |
| MethodBinding pointing at method accepting an ActionEvent with return type void
|
| alt |
Text |
| |
| For a user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute
|
| binding |
Expression |
| |
| The attribute takes a value-binding expression for a component property of
a backing bean
|
| conversationName |
Text |
| |
| The name of the conversation for natural conversations
|
| converter |
Text |
| |
| Id of Converter to be used or reference to a Converter
|
| dir |
Text |
| |
| Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
|
| disabled |
Text |
| |
| When set for a form control, this boolean attribute disables the control for your input
|
| fragment |
Text |
| |
| the fragment identifier to link to.
|
| id |
Text |
| |
| Every component may have a unique id that is automatically created if omitted
|
| includePageParams |
Text |
| |
| Include page parameters defined in pages.xml when rendering the button
|
| lang |
Text |
| |
| Code describing the language used in the generated markup for this component
|
| onclick |
Text |
| |
| The clientside script method to be called when the element is clicked
|
| ondblclick |
Text |
| |
| The client side script method to be called when the element is double-clicked
|
| onkeydown |
Text |
| |
| The client side script method to be called when a key is pressed down over the element
|
| onkeypress |
Text |
| |
| The client side script method to be called when a key is pressed over the element and released
|
| onkeyup |
Text |
| |
| The client side script method to be called when a key is released
|
| onmousedown |
Text |
| |
| The client side script method to be called when a mouse button is pressed down over the element
|
| onmousemove |
Text |
| |
| The client side script method to be called when a pointer is moved within the element
|
| onmouseout |
Text |
| |
| The client side script method to be called when a pointer is moved away from the element
|
| onmouseover |
Text |
| |
| The client side script method to be called when a pointer is moved onto the element
|
| onmouseup |
Text |
| |
| The client side script method to be called when a mouse button is released
|
| pageflow |
Text |
| |
| a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
|
| propagation |
Text |
| |
| determines the conversation propagation style:begin, join, nest, none or end.
|
| rendered |
Text |
| |
| If "false", this component is not rendered
|
| size |
Text |
| |
| This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters
|
| style |
Text |
| |
| CSS style(s) is/are to be applied when this component is rendered
|
| styleClass |
Text |
| |
| Corresponds to the HTML class attribute
|
| tabindex |
Text |
| |
| This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
|
| taskInstance |
Text |
| |
| Specify the task to operate on (e.g. for @StartTask)
|
| title |
Text |
| |
| Advisory title information about markup elements generated for this component
|
| type |
Text |
| |
| This attribute specifies a type of control to create. The possible values are "submit", "reset", "image" and "button". The default value for this attribute is "submit"
|
| value |
Text |
| |
| The current value for this component
|
| view |
Text |
| |
| the JSF view id to link to.
|
|
|
|
|
|