|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.struts.taglib.template.InsertTag
This is the tag handler for <template:insert>, which includes a template. The tag's body content consists of <template:put> tags, which are accessed by <template:get> in the template.
Field Summary | |
private ContentMap |
map
Each insert tag has a map of content. |
private java.lang.String |
template
The URI of the template. |
Constructor Summary | |
InsertTag()
|
Method Summary | |
int |
doEndTag()
Process the end tag by including the template. |
int |
doStartTag()
Process the start tag by pushing this tag's map onto the content map stack. |
ContentMap |
getContentMap()
Get the map attribute. |
java.lang.String |
getTemplate()
Get the template attribute. |
void |
put(java.lang.String name,
Content content)
This method is a convenience for <template:put> tags for putting content into the map. |
void |
release()
Reset member values for reuse. |
private void |
saveException(java.lang.Throwable exception)
Save the specified exception in request scope if there is not already one present. |
void |
setTemplate(java.lang.String template)
Set the template attribute. |
Field Detail |
private ContentMap map
private java.lang.String template
Constructor Detail |
public InsertTag()
Method Detail |
public void setTemplate(java.lang.String template)
public java.lang.String getTemplate()
public ContentMap getContentMap()
public int doStartTag() throws javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
public void put(java.lang.String name, Content content)
public void release()
private void saveException(java.lang.Throwable exception)
exception
- Exception to be conditionally saved
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |