|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
org.apache.taglibs.rdc.core.StrutsSubmitTag
public class StrutsSubmitTag
Tag implementation of the <rdc:struts-submit> tag Collects data from the RDC layer and posts it according to the RDC-struts interface contract.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_VIEWS_MAP
Attribute name of map that will store form data from multiple submits this session |
static java.lang.String |
ATTR_VIEWS_MAP_KEY
Attribute name of key that will be used to retrieve form data for this submission |
| Constructor Summary | |
|---|---|
StrutsSubmitTag()
|
|
| Method Summary | |
|---|---|
void |
doTag()
Collect data from the RDC layer and post it into the viewsMap according to the RDC-struts interface contract |
static void |
populate(org.apache.struts.action.ActionForm formBean,
javax.servlet.http.HttpServletRequest req,
org.apache.struts.action.ActionErrors errors)
Retrieve data posted to viewsMap for this request according to the RDC-struts interface contract, and populate the ActionForm using this data. |
void |
setClearlist(java.lang.String clearlist)
Set the clearlist |
void |
setContext(javax.servlet.jsp.PageContext context)
Set the page context |
void |
setDialogMap(java.util.Map dialogMap)
Set the "dialogMap" object [of the host JSP] |
void |
setNamelist(java.lang.String namelist)
Set the namelist |
void |
setSubmit(java.lang.String submit)
Set the submit URI |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATTR_VIEWS_MAP
public static final java.lang.String ATTR_VIEWS_MAP_KEY
| Constructor Detail |
|---|
public StrutsSubmitTag()
| Method Detail |
|---|
public void setSubmit(java.lang.String submit)
String - submitpublic void setNamelist(java.lang.String namelist)
String - namelistpublic void setClearlist(java.lang.String clearlist)
String - clearlistpublic void setContext(javax.servlet.jsp.PageContext context)
PageContext - context the supplied page contextpublic void setDialogMap(java.util.Map dialogMap)
LinkedHashMap - the dialogMap object from the host JSP
public void doTag()
throws java.io.IOException,
javax.servlet.jsp.JspException,
javax.servlet.jsp.JspTagException
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupportjava.io.IOException
javax.servlet.jsp.JspException
javax.servlet.jsp.JspTagException
public static void populate(org.apache.struts.action.ActionForm formBean,
javax.servlet.http.HttpServletRequest req,
org.apache.struts.action.ActionErrors errors)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||