|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--javax.servlet.jsp.tagext.BodyTagSupport | +--org.apache.struts.taglib.template.PutTag
Tag handler for <template:put>, which puts content into request scope.
Field Summary | |
private java.lang.String |
content
Deprecated. The content's URI (or text). |
private java.lang.String |
direct
Deprecated. Determines whether content is included (false) or printed (true). |
private java.lang.String |
name
Deprecated. The content's name. |
private java.lang.String |
role
Deprecated. The role that the user must be in to store content. |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
PutTag()
Deprecated. |
Method Summary | |
int |
doEndTag()
Deprecated. Use Tiles instead. |
private java.lang.String |
getActualContent()
Deprecated. Use Tiles instead. |
private javax.servlet.jsp.tagext.TagSupport |
getAncestor(java.lang.String className)
Deprecated. Use Tiles instead. |
java.lang.String |
getContent()
Deprecated. Use Tiles instead. |
java.lang.String |
getDirect()
Deprecated. Use Tiles instead. |
java.lang.String |
getName()
Deprecated. Use Tiles instead. |
java.lang.String |
getRole()
Deprecated. Use Tiles instead. |
private boolean |
hasBody()
Deprecated. Use Tiles instead. |
void |
release()
Deprecated. Use Tiles instead. |
void |
setContent(java.lang.String content)
Deprecated. Use Tiles instead. |
void |
setDirect(java.lang.String direct)
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.BodyTagSupport |
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Field Detail |
private java.lang.String name
private java.lang.String role
private java.lang.String content
private java.lang.String direct
Constructor Detail |
public PutTag()
Method Detail |
public void setName(java.lang.String name)
public void setRole(java.lang.String role)
role
- The role the user must be in to store content.public void setContent(java.lang.String content)
public void setDirect(java.lang.String direct)
public java.lang.String getName()
public java.lang.String getRole()
public java.lang.String getContent()
public java.lang.String getDirect()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- if this tag is not enclosed by
<template:insert>.public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
private java.lang.String getActualContent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
private boolean hasBody()
private javax.servlet.jsp.tagext.TagSupport getAncestor(java.lang.String className) throws javax.servlet.jsp.JspException
className
- The name of the ancestor class.
javax.servlet.jsp.JspException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |