|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--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
Deprecated. Each insert tag has a map of content. |
private java.lang.String |
template
Deprecated. The application-relative URI of the template. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
InsertTag()
Deprecated. |
Method Summary | |
int |
doEndTag()
Deprecated. Use Tiles instead. |
int |
doStartTag()
Deprecated. Use Tiles instead. |
ContentMap |
getContentMap()
Deprecated. Use Tiles instead. |
java.lang.String |
getTemplate()
Deprecated. Use Tiles instead. |
void |
put(java.lang.String name,
Content content)
Deprecated. Use Tiles instead. |
void |
release()
Deprecated. Use Tiles instead. |
private void |
saveException(java.lang.Throwable exception)
Deprecated. Use Tiles instead. |
void |
setTemplate(java.lang.String template)
Deprecated. Use Tiles instead. |
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 |
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
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void put(java.lang.String name, Content content)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
private void saveException(java.lang.Throwable exception)
exception
- Exception to be conditionally saved
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |