Attributes |
Name | Required | Request-time | Type | Description |
action | false | true | java.lang.String |
The URL to which this form will post. Expected to be a web-app relative path - the
tag will prepend the context path to any action that begins with a slash and does
not already begin with the context path. Should match a URL to which an ActionBean
has been bound. Required unless 'beanclass' is provided.
|
beanclass | false | true | java.lang.Object |
The fully qualified name of an ActionBean class, or alternatively a Class instance
for an ActionBean class. An alternative to the 'action' attribute, the 'beanclass'
attribute will generate an action appropriate for the ActionBean identified. Note
that if an "ActionBean" that does not yet exist is identified an exception will
be thrown!
|
focus | false | true | java.lang.String |
The name of the form field that should receive focus when the page is loaded. Two
special values are recognized, 'first' and the empty string; these values cause
the form to set focus on the first element in the form. If any value is set,
and the form has validation errors, the behaviour is altered and the first field
with validation errors is focused instead.
|
accept | false | true | java.lang.String | A comma separated list of content types that it is acceptable to submit through this form. (HTML Pass-through) |
acceptcharset | false | true | java.lang.String | A comma separated list of possible character sets for form data. Will be written to the page as accept-charset. (HTML Pass-through) |
enctype | false | true | java.lang.String |
The mime type used to encode the content of this form. This value will be overridden if one or more Stripes
file input tags is used within the body of the form.
|
method | false | true | java.lang.String | The HTTP method used for sending data to the server. Options are GET and POST. Default is POST. (HTML Pass-through) |
name | false | true | java.lang.String | The unique name of the form. (HTML Pass-through) |
target | false | true | java.lang.String | Where the target URL is to be opened. One of _blank, _self, _parent and _top. (HTML Pass-through) |
onreset | false | true | java.lang.String | Scripting code run when the form is reset. (HTML Pass-through) |
onsubmit | false | true | java.lang.String | Scripting code run prior to the form being submitted to the server, (HTML Pass-through) |
partial | false | true | java.lang.String |
Indicates whether or not to actually render the HTML <FORM> tag and certain
hidden inputs, such as _sourcePage. This is useful when using AJAX to insert
elements into an existing <FORM>.
|
class | false | true | java.lang.String | The CSS class to be applied to the element. (HTML Pass-through) |
dir | false | true | java.lang.String | Text direction. (HTML Pass-through) |
id | false | true | java.lang.String | A unique identifier for the HTML tag on the page. (HTML Pass-through) |
lang | false | true | java.lang.String | The language code of the element. (HTML Pass-through) |
onclick | false | true | java.lang.String | Scripting code run on each mouse click. (HTML Pass-through) |
ondblclick | false | true | java.lang.String | Scripting code run on a double-click of the mouse. (HTML Pass-through) |
onkeydown | false | true | java.lang.String | Scripting code run when a key is depressed. (HTML Pass-through) |
onkeypress | false | true | java.lang.String | Scripting code run when a key is pressed and released. (HTML Pass-through) |
onkeyup | false | true | java.lang.String | Scripting code run when a key is released. (HTML Pass-through) |
onmousedown | false | true | java.lang.String | Scripting code run when a mouse button is depressed. (HTML Pass-through) |
onmousemove | false | true | java.lang.String | Scripting code run when the mouse pointer is moved. (HTML Pass-through) |
onmouseout | false | true | java.lang.String | Scripting code run when the mouse pointer moves out of the element. (HTML Pass-through) |
onmouseover | false | true | java.lang.String | Scripting code run when the mouse pointer moves over the element. (HTML Pass-through) |
onmouseup | false | true | java.lang.String | Scripting code run when a mouse button is released. (HTML Pass-through) |
style | false | true | java.lang.String | Inline CSS style fragment that applies to the element (HTML Pass-through) |
title | false | true | java.lang.String | Tool-tip text for the element. (HTML Pass-through) |