|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.stripes.tag.StripesTagSupport
net.sourceforge.stripes.tag.WizardFieldsTag
public class WizardFieldsTag
Examines the request and include hidden fields for all parameters that have do not have form fields in the current form. Will include multiple values for parameters that have them. Excludes 'special' parameters like the source page parameter, and the paramter that conveyed the event name.
Very useful for implementing basic wizard flow without relying on session scoping of ActionBeans, and without having to name all the parameters that should be carried forward in the form.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.stripes.tag.StripesTagSupport |
|---|
pageContext, parentTag |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
WizardFieldsTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Performs the main work of the tag, as described in the class level javadoc. |
int |
doStartTag()
Skips over the body because there shouldn't be one. |
boolean |
isCurrentFormOnly()
Gets whether the tag will output fields for the current form only, or in all cases. |
void |
setCurrentFormOnly(boolean currentFormOnly)
Sets whether or not the parameters should be output only if the form matches the current request. |
| Methods inherited from class net.sourceforge.stripes.tag.StripesTagSupport |
|---|
getPageContext, getParent, getParentTag, release, setPageContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WizardFieldsTag()
| Method Detail |
|---|
public void setCurrentFormOnly(boolean currentFormOnly)
public boolean isCurrentFormOnly()
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class StripesTagSupportJspException
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class StripesTagSupportJspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||