| |||||||
| FRAMES NO FRAMES | |||||||
Render A Button Input Field
Renders an HTML <input> element of type button, populated from the specified value or the content of this tag body. This tag is only valid when nested inside a form tag body.
If a graphical button is needed (a button with an image), then the image tag is more appropriate.
| Tag Information | |
| Tag Class | org.apache.struts.taglib.html.ButtonTag |
| TagExtraInfo Class | None |
| Body Content | JSP |
| Display Name | None |
| Attributes | ||||
| Name | Required | Request-time | Type | Description |
| accesskey | false | true | java.lang.String | The keyboard character used to move focus immediately to this element. |
| alt | false | true | java.lang.String | The alternate text for this element. |
| altKey | false | true | java.lang.String | The message resources key of the alternate text for this element. |
| bundle | false | true | java.lang.String | The servlet context attributes key for the MessageResources instance to use. If not specified, defaults to the application resources configured for our action servlet.
|
| dir | false | true | java.lang.String | The direction for weak/neutral text for this element.
|
| disabled | false | true | boolean | Set to |
| indexed | false | true | boolean | Valid only inside of |
| lang | false | true | java.lang.String | The language code for this element.
|
| onblur | false | true | java.lang.String | JavaScript event handler executed when this element loses input focus. |
| onchange | false | true | java.lang.String | JavaScript event handler executed when this element loses input focus and its value has changed. |
| onclick | false | true | java.lang.String | JavaScript event handler executed when this element receives a mouse click. |
| ondblclick | false | true | java.lang.String | JavaScript event handler executed when this element receives a mouse double click. |
| onfocus | false | true | java.lang.String | JavaScript event handler executed when this element receives input focus. |
| onkeydown | false | true | java.lang.String | JavaScript event handler executed when this element has focus and a key is depressed. |
| onkeypress | false | true | java.lang.String | JavaScript event handler executed when this element has focus and a key is depressed and released. |
| onkeyup | false | true | java.lang.String | JavaScript event handler executed when this element has focus and a key is released. |
| onmousedown | false | true | java.lang.String | JavaScript event handler executed when this element is under the mouse pointer and a mouse button is depressed. |
| onmousemove | false | true | java.lang.String | JavaScript event handler executed when this element is under the mouse pointer and the pointer is moved. |
| onmouseout | false | true | java.lang.String | JavaScript event handler executed when this element was under the mouse pointer but the pointer was moved outside the element. |
| onmouseover | false | true | java.lang.String | JavaScript event handler executed when this element was not under the mouse pointer but the pointer is moved inside the element. |
| onmouseup | false | true | java.lang.String | JavaScript event handler executed when this element is under the mouse pointer and a mouse button is released. |
| property | true | true | java.lang.String | Name of the request parameter that will be included with this submission, set to the specified value. |
| style | false | true | java.lang.String | CSS styles to be applied to this HTML element. |
| styleClass | false | true | java.lang.String | CSS stylesheet class to be applied to this HTML element (renders a "class" attribute). |
| styleId | false | true | java.lang.String | Identifier to be assigned to this HTML element (renders an "id" attribute). |
| tabindex | false | true | java.lang.String | The tab order (ascending positive integers) for this element. |
| title | false | true | java.lang.String | The advisory title for this element. |
| titleKey | false | true | java.lang.String | The message resources key for the advisory title for this element. |
| value | false | true | java.lang.String | Value of the label to be placed on this button. This value will also be submitted as the value of the specified request parameter. [Body of this tag (if any), or "Click"] |
| Variables | No Variables Defined. |
| |||||||
| FRAMES NO FRAMES | |||||||