|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.form.FormTag
public class FormTag
FormTag is the tag handler class for the sas:Form custom tag . FormTag is invoked by the JSP page to evaluate the sas:Form custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, Form, to execute the methods.
If you need to extend or modify the functionality of the sas:Form custom tag, you can subclass this tag handler class.
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Refer to the Custom Tag Library Reference for usage information on the sas:Form custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.
Form
,
Serialized FormField Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS, RB_KEY |
Constructor Summary | |
---|---|
FormTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the attributes on the underlying Form object. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Processes the start tag for this instance. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
void |
setAction(java.lang.String action)
Sets the action property (String) of the Form Tag. |
void |
setAutoComplete(boolean value)
Sets the autoComplete attribute (boolean) of the Form Tag. |
void |
setEncodeType(java.lang.String encodeType)
Sets the encodetype property (String) of the Form Tag. |
void |
setMethod(java.lang.String method)
Sets the method property (String) of the Form Tag. |
void |
setOnBlur(java.lang.String onblur)
Sets the onBlur property (String) of the Form Tag. |
void |
setOnClick(java.lang.String onclick)
Sets the onClick property (String) of the Form Tag. |
void |
setOnFocus(java.lang.String onfocus)
Sets the onFocus property (String) of the Form Tag. |
void |
setOnKeyDown(java.lang.String onkeydown)
Sets the onKeyDown property (String) of the Form Tag. |
void |
setOnKeyPress(java.lang.String onkeypress)
Sets the onKeyPress property (String) of the Form Tag. |
void |
setOnKeyUp(java.lang.String onkeyup)
Sets the onKeyUp property (String) of the Form Tag. |
void |
setOnLoad(java.lang.String onload)
Sets the onLoad property (String) of the Form Tag. |
void |
setOnMouseDown(java.lang.String onmousedown)
Sets the onMouseDown property (String) of the Form Tag. |
void |
setOnMouseOut(java.lang.String onmouseout)
Sets the onMouseOut property (String) of the Form Tag. |
void |
setOnMouseOver(java.lang.String onmouseover)
Sets the onMouseOver property (String) of the Form Tag. |
void |
setOnMouseUp(java.lang.String onmouseup)
Sets the onMouseUp property (String) of the Form Tag. |
void |
setOnReset(java.lang.String onreset)
Sets the onReset property (String) of the Form Tag. |
void |
setOnSubmit(java.lang.String onsubmit)
Sets the onSubmit property (String) of the Form Tag. |
void |
setOnUnload(java.lang.String onunload)
Sets the onUnLoad property (String) of the Form Tag. |
void |
setTarget(java.lang.String target)
Sets the target property (String) of the Form Tag. |
void |
setValidateFunctionName(java.lang.String validatefunctionname)
Sets the validatefunctionname property (String) of the Form Tag. |
void |
setValidationEnabled(boolean validationEnabled)
Sets the validationEnabled attribute (boolean) of the Form Tag. |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag |
---|
getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Methods inherited from class com.sas.taglib.BaseBodyTag |
---|
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate |
Constructor Detail |
---|
public FormTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseTransformationBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setAction(java.lang.String action)
action
- Specifies the URL which is used to post forms via email or via HTTPpublic void setEncodeType(java.lang.String encodeType)
encodetype
- The Form encoding type to encode the form's content.public void setMethod(java.lang.String method)
method
- The Form submittion method to be used when sending the form contents to the server.public void setTarget(java.lang.String target)
target
- The window name that displays the datapublic void setValidateFunctionName(java.lang.String validatefunctionname)
validatefunctionname
- The Form validating function namepublic void setOnSubmit(java.lang.String onsubmit)
onSubmit
- The Form onSubmit function name that's called when the form is submitted.public void setOnBlur(java.lang.String onblur)
onBlur
- The Form onBlur event handler that's called when the form loses focus.public void setOnFocus(java.lang.String onfocus)
onFocus
- The Form onFocus event handler that's called when the form receives focus.public void setOnKeyDown(java.lang.String onkeydown)
onKeyDown
- The Form onKeyDown event handler that's called when a key on the
keyboard is pressed down while the Form has focus.public void setOnKeyPress(java.lang.String onkeypress)
onKeyPress
- The Form onKeyPress event handler that's called when a key on the
keyboard is pressed while the Form has focus.public void setOnKeyUp(java.lang.String onkeyup)
onKeyUp
- The Form onKeyUp event handler that's called when a key on the
keyboard is released while the Form has focus.public void setOnLoad(java.lang.String onload)
onLoad
- The Form onLoad event handler that's called when the form loads.public void setOnMouseDown(java.lang.String onmousedown)
onMouseDown
- The Form onMouseDown event handler that's called when a mouse button
is pressed while the Form has focus.public void setOnMouseUp(java.lang.String onmouseup)
onMouseUp
- The Form onMouseUp event handler that's called when a mouse button
is released while the Form has focus.public void setOnMouseOut(java.lang.String onmouseout)
onMouseOut
- The Form onMouseOut event handler that's called when a mouse scrolls
out of the Form region.public void setOnMouseOver(java.lang.String onmouseover)
onMouseOver
- The Form onMouseOver event handler that's called when a mouse
is over the Form region.public void setOnReset(java.lang.String onreset)
onReset
- The Form onReset event handler that's called when the form resets.public void setOnUnload(java.lang.String onunload)
onUnLoad
- The Form onUnLoad event handler that's called when the form unloads.public void setOnClick(java.lang.String onclick)
onClick
- The Form onClick event handler that's called when the form is clicked with
the mouse.public void setValidationEnabled(boolean validationEnabled)
validationEnabled
- The state of the FORM element; "true" results in validation being enabled on a Form.public void setAutoComplete(boolean value)
value
- The state of the autoComplete propertypublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if some type of JSP error occursBaseBodyTag.setInstantiate(boolean)
,
TagSupport.doStartTag()
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if some type of JSP error occurspublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if some type of JSP error occursTagSupport.doEndTag()
,
BaseBodyTag.setInstantiate(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |