|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--org.chwf.taglib.base.LifeCycleTagSupport | +--org.chwf.taglib.base.ObjectTagSupport | +--org.chwf.taglib.jhtml.FormTag
Tag handler for the <form>
tag.
Fields inherited from class org.chwf.taglib.base.ObjectTagSupport |
DEFAULT_OBJECT |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
FormTag()
|
Method Summary | |
void |
cleanup()
Clean up data for tag handler reuse and pooling. |
int |
doEnd()
Prints close tag. |
int |
doStart()
Initializes form data and prints open tag. |
java.lang.String |
getAction()
The form action. |
java.lang.Boolean |
getValidations()
Whether validations are supported. |
void |
init()
Initialization. |
void |
setAccept(java.lang.String value)
Pass-through attribute. |
void |
setAction(java.lang.String action)
Sets the action. |
void |
setEnctype(java.lang.String value)
Pass-through attribute. |
void |
setId(java.lang.String value)
Pass-through attribute. |
void |
setLang(java.lang.String value)
Pass-through attribute. |
void |
setMethod(java.lang.String value)
Pass-through attribute. |
void |
setName(java.lang.String value)
Pass-through attribute. |
void |
setObject(java.lang.String objectName)
Calls superclass method. |
void |
setStyle(java.lang.String value)
Pass-through attribute. |
void |
setStyleClass(java.lang.String value)
Pass-through attribute. |
void |
setTarget(java.lang.String value)
Pass-through attribute. |
void |
setTitle(java.lang.String value)
Pass-through attribute. |
void |
setValidations(java.lang.Boolean validations)
Whether validations are supported. |
Methods inherited from class org.chwf.taglib.base.ObjectTagSupport |
findObject, getEl, getObject, getProperty, getTagResult, getTagResult, getVar, setEl, setProperty, setVar, storeDefaultObject |
Methods inherited from class org.chwf.taglib.base.LifeCycleTagSupport |
addAttribute, addParameter, doEndTag, doStartTag, getAttribute, getAttributeNames, getParameter, getParameterNames, printAttributes |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FormTag()
Method Detail |
public void cleanup()
super.cleanup()
cleanup
in class ObjectTagSupport
public void setAction(java.lang.String action)
action
- The form action.public java.lang.String getAction()
public void setObject(java.lang.String objectName) throws javax.servlet.jsp.JspException
setObject
in class ObjectTagSupport
objectName
- The object name.javax.servlet.jsp.JspException
- For errors.public void setValidations(java.lang.Boolean validations)
validations
- Whether validations are supported.public java.lang.Boolean getValidations()
public void setStyleClass(java.lang.String value)
value
- The attribute value.public void setId(java.lang.String value)
setId
in class javax.servlet.jsp.tagext.TagSupport
value
- The attribute value.public void setLang(java.lang.String value)
value
- The attribute value.public void setStyle(java.lang.String value)
value
- The attribute value.public void setTitle(java.lang.String value)
value
- The attribute value.public void setAccept(java.lang.String value)
value
- The attribute value.public void setEnctype(java.lang.String value)
value
- The attribute value.public void setMethod(java.lang.String value)
value
- The attribute value.public void setName(java.lang.String value)
value
- The attribute value.public void setTarget(java.lang.String value)
value
- The attribute value.public void init() throws javax.servlet.jsp.JspException
init
in class LifeCycleTagSupport
javax.servlet.jsp.JspException
- For errors.public int doStart() throws java.io.IOException, javax.servlet.jsp.JspException
doStart
in class LifeCycleTagSupport
javax.servlet.jsp.JspException
- If object not defined.java.io.IOException
- For write errors.public int doEnd() throws java.io.IOException
doEnd
in class LifeCycleTagSupport
java.io.IOException
- For write errors.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |