|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
jodd.servlet.tags.form.FormTag
Form tag populates a included form with values from the one or more beans. Beans are stored in various scopes. This tag is smart so everything happens automatically. However, there are several easy-to-work-with limits that must be fulfilled to make this tag working properly:
="
or ='
.Availiable scopes are:
Field Summary |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
FormTag()
|
Method Summary | |
int |
doAfterBody()
Performs smart form population. |
int |
doEndTag()
End of tag. |
int |
doStartTag()
Copies properties of all specified bean into one map. |
java.lang.String |
getBeans()
Gets bean names. |
java.lang.String |
getScopes()
Return value of the "scope" attribute |
void |
setBeans(java.lang.String v)
Sets bean names with value of the "bean" attribute. |
void |
setScopes(java.lang.String v)
Sets the value of "scope" attribute, that represent beans scope. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Constructor Detail |
public FormTag()
Method Detail |
public void setBeans(java.lang.String v)
v
- bean namespublic java.lang.String getBeans()
public void setScopes(java.lang.String v)
v
- public java.lang.String getScopes()
public int doStartTag()
public int doAfterBody()
public int doEndTag()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |