|
|||||||||||
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.GetTag
This is the tag handler for <template:get>, which gets content from the request scope and either includes the content or prints it, depending upon the value of the content's direct attribute.
Field Summary | |
private boolean |
flush
Deprecated. Should we flush before including this text? |
private java.lang.String |
name
Deprecated. The name of the content that this tag includes (or prints). |
private java.lang.String |
role
Deprecated. The role that the user must be in to retrieve content. |
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 | |
GetTag()
Deprecated. |
Method Summary | |
int |
doStartTag()
Deprecated. Use Tiles instead. |
boolean |
getFlush()
Deprecated. Use Tiles instead. |
java.lang.String |
getName()
Deprecated. Use Tiles instead. |
java.lang.String |
getRole()
Deprecated. Use Tiles instead. |
void |
release()
Deprecated. Use Tiles instead. |
private void |
saveException(java.lang.Throwable exception)
Deprecated. Use Tiles instead. |
void |
setFlush(boolean flush)
Deprecated. Use Tiles instead. |
void |
setName(java.lang.String name)
Deprecated. Use Tiles instead. |
void |
setRole(java.lang.String role)
Deprecated. Use Tiles instead. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag, 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 boolean flush
private java.lang.String name
private java.lang.String role
Constructor Detail |
public GetTag()
Method Detail |
public void setFlush(boolean flush)
flush
- The new flush propertypublic void setName(java.lang.String name)
name
- The name of the content to get.public void setRole(java.lang.String role)
role
- The role the user must be in to retrieve content.public boolean getFlush()
public java.lang.String getName()
public java.lang.String getRole()
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 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 |