|
||||||||||
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.tiles.taglib.GetAttributeTag org.apache.strutsel.taglib.tiles.ELGetAttributeTag
public class ELGetAttributeTag
This is the tag handler for <tiles-el: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.
This tag
is intended to be compatible with the same tag from Templates (David
Geary). Implementation extends InsertTag for facility (no so well). The
only difference is the default value of attribute 'ignore', which is
true
for this tag (default behavior of David Geary's
templates).
This class is a subclass of the class
org.apache.struts.taglib.tiles.GetAttributeTag
which provides
most of the described functionality. This subclass allows all attribute
values to be specified as expressions utilizing the JavaServer Pages
Standard Library expression language.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface org.apache.struts.tiles.taglib.ComponentConstants |
---|
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
ELGetAttributeTag()
|
Method Summary | |
---|---|
int |
doStartTag()
Process the start tag. |
String |
getIgnoreExpr()
Getter method for "ignore" tag attribute. |
String |
getNameExpr()
Getter method for "name" tag attribute. |
String |
getRoleExpr()
Getter method for "role" tag attribute. |
void |
release()
Resets attribute values for tag reuse. |
void |
setIgnoreExpr(String ignoreExpr)
Setter method for "ignore" tag attribute. |
void |
setNameExpr(String nameExpr)
Setter method for "name" tag attribute. |
void |
setRoleExpr(String roleExpr)
Setter method for "role" tag attribute. |
Methods inherited from class org.apache.struts.tiles.taglib.GetAttributeTag |
---|
doEndTag, getAttribute, getIgnore, getName, getRole, setAttribute, setIgnore, setName, setRole |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, 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 |
Constructor Detail |
---|
public ELGetAttributeTag()
Method Detail |
---|
public String getNameExpr()
public String getIgnoreExpr()
public String getRoleExpr()
public void setNameExpr(String nameExpr)
public void setIgnoreExpr(String ignoreExpr)
public void setRoleExpr(String roleExpr)
public void release()
release
in interface Tag
release
in class GetAttributeTag
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
- if a JSP exception has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |