<sas:Form>
Generates the appropriate HTML 4.0/XHTML 1.0 INPUT tag attributes to represent a form.
Syntax
<sas:Form
[action="java.lang.String"]
[customAttributes="java.lang.String"]
[encodeType="java.lang.String"]
[epilog="java.lang.String"]
[id="value"]
[instantiate="true|false"]
[locale="java.util.Locale"]
[method="java.lang.String"]
[name="java.lang.String"]
[objectDataProperty="java.lang.String"]
[onBlur="java.lang.String"]
[onClick="java.lang.String"]
[onFocus="java.lang.String"]
[onKeyDown="java.lang.String"]
[onKeyPress="java.lang.String"]
[onKeyUp="java.lang.String"]
[onLoad="java.lang.String"]
[onMouseDown="java.lang.String"]
[onMouseOut="java.lang.String"]
[onMouseOver="java.lang.String"]
[onMouseUp="java.lang.String"]
[onReset="java.lang.String"]
[onSubmit="java.lang.String"]
[onUnload="java.lang.String"]
[prolog="java.lang.String"]
[ref="java.lang.String"]
[render="true|false"]
[scope="page|request|session|application"]
[target="java.lang.String"]
[validateFunctionName="java.lang.String"]
[validationEnabled="true|false"]>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:Form>
Attributes
action | Specifies the URL which is used to post forms via email or via HTTP |
---|---|
customAttributes | a list of attributes in the form of attribute="value", space delimited |
encodeType | The Form encoding type to encode the form's content. |
epilog | Text that is output immediately after the last markup tag. |
id | Case-sensitive name used to identify the object instance. |
instantiate | Flag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute. |
locale | Specifies the locale to use for this instance of the class. |
method | The Form submittion method to be used when sending the form contents to the server. |
name | Value assigned to the markup tag's name attribute. |
objectDataProperty | Value assigned to the output tag's objectDataProperty attribute. |
onBlur | The Form onBlur event handler that's called when the form loses focus. |
onClick | The Form onClick event handler that's called when the form is clicked with the mouse. |
onFocus | The Form onFocus event handler that's called when the form receives focus. |
onKeyDown | The Form onKeyDown event handler that's called when a key on the keyboard is pressed down while the Form has focus. |
onKeyPress | The Form onKeyPress event handler that's called when a key on the keyboard is pressed while the Form has focus. |
onKeyUp | The Form onKeyUp event handler that's called when a key on the keyboard is released while the Form has focus. |
onLoad | The Form onLoad event handler that's called when the form loads. |
onMouseDown | The Form onMouseDown event handler that's called when a mouse button is pressed while the Form has focus. |
onMouseOut | The Form onMouseOut event handler that's called when a mouse scrolls out of the Form region. |
onMouseOver | The Form onMouseOver event handler that's called when a mouse is over the Form region. |
onMouseUp | The Form onMouseUp event handler that's called when a mouse button is released while the Form has focus. |
onReset | The Form onReset event handler that's called when the form resets. |
onSubmit | The Form onSubmit function name that's called when the form is submitted. |
onUnload | The Form onUnLoad event handler that's called when the form unloads. |
prolog | Text that is output immediately preceeding the first markup tag. |
ref | The variable String value that represents an object created earlier in the same scope. |
render | Flag that, if true, indicates that the complete markup of the bean is output when the tag is closed. It also sets the the visible property on the underlying TransformationBean. |
scope | The scope (or page context) within which the reference is available. |
target | The window name that displays the data |
validateFunctionName | The Form validating function name |
validationEnabled | The state of the FORM element; "true" results in validation being enabled on a Form. |
More Information
To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.form.html.Form.
If you need to subclass the tag handler class for the sas:Form tag, extend com.sas.taglib.servlet.tbeans.form.FormTag.