<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

actionSpecifies the URL which is used to post forms via email or via HTTP
customAttributesa list of attributes in the form of attribute="value", space delimited
encodeTypeThe Form encoding type to encode the form's content.
epilogText that is output immediately after the last markup tag.
idCase-sensitive name used to identify the object instance.
instantiateFlag 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.
localeSpecifies the locale to use for this instance of the class.
methodThe Form submittion method to be used when sending the form contents to the server.
nameValue assigned to the markup tag's name attribute.
objectDataPropertyValue assigned to the output tag's objectDataProperty attribute.
onBlurThe Form onBlur event handler that's called when the form loses focus.
onClickThe Form onClick event handler that's called when the form is clicked with the mouse.
onFocusThe Form onFocus event handler that's called when the form receives focus.
onKeyDownThe Form onKeyDown event handler that's called when a key on the keyboard is pressed down while the Form has focus.
onKeyPressThe Form onKeyPress event handler that's called when a key on the keyboard is pressed while the Form has focus.
onKeyUpThe Form onKeyUp event handler that's called when a key on the keyboard is released while the Form has focus.
onLoadThe Form onLoad event handler that's called when the form loads.
onMouseDownThe Form onMouseDown event handler that's called when a mouse button is pressed while the Form has focus.
onMouseOutThe Form onMouseOut event handler that's called when a mouse scrolls out of the Form region.
onMouseOverThe Form onMouseOver event handler that's called when a mouse is over the Form region.
onMouseUpThe Form onMouseUp event handler that's called when a mouse button is released while the Form has focus.
onResetThe Form onReset event handler that's called when the form resets.
onSubmitThe Form onSubmit function name that's called when the form is submitted.
onUnloadThe Form onUnLoad event handler that's called when the form unloads.
prologText that is output immediately preceeding the first markup tag.
refThe variable String value that represents an object created earlier in the same scope.
renderFlag 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.
scopeThe scope (or page context) within which the reference is available.
targetThe window name that displays the data
validateFunctionNameThe Form validating function name
validationEnabledThe 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.