|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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)
submit
- The submit URIpublic void setNamelist(java.lang.String namelist)
namelist
- The space-separated name listpublic void setClearlist(java.lang.String clearlist)
clearlist
- The space-separated clear listpublic void setContext(javax.servlet.jsp.PageContext context)
context
- The supplied page contextpublic void setDialogMap(java.util.Map dialogMap)
dialogMap
- The dialogMap object from the host JSPpublic void doTag() throws java.io.IOException, javax.servlet.jsp.JspException, javax.servlet.jsp.JspTagException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
java.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 |