Displays a button. Buttons typically submit the surrounding form, but they can also be defined to run arbitrary JavaScript.
Properties for this display component are:
class - Specifies the CSS class to use for an enabled button. Defaults to formbutton.
command– Specifies an optional value to submit along with the name parameter (for example, Save, Cancel, Recalculate).
disabledclass - Specifies the CSS class to use for a disabled button. Defaults to formbutton.
hiddenID– Specifies an optional value for an id parameter to be included in the form post data.
label– Specifies the visible text that displays on the button.
linkClass - Specifies the CSS class to use when a button is rendered as a link.
name– Specifies the name of the parameter that will be posted when the user clicks this button. This property is optional; if not specified, the default value is command.
onMouseOver - Contains the Javascript to execute on an onMouseOver event for the button. You can use this property to change the style of the button when mousing over it.
onMouseOut - Contains the Javascript to execute on an onMouseOut event for the button. You can use this property to change the style of the button when moving the mouse off it.
onFocus - Contains the Javascript to execute on an onFocus event for the button. You can use this property to change the style of the button when the button is focused.
onBlur - Contains the Javascript to execute on an onFocus event for the button. You can use this property to change the style of the button when the button loses focus.
postURL– Specifies an alternate, target URL to which the form will be posted. This value overrides the URL specified in the JSP.
value– Specifies the value of the parameter posted when the user clicks this button.
<Display class =’Button’> <Property name =’label’ value =’Change Password’/> <Property name =’value’ value =’Recalculate’/> </Display>