public class ELGetTag extends GetTag
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.GetTag
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.
InsertTag.DirectStringHandler, InsertTag.InsertHandler, InsertTag.TagHandler
attribute, beanName, beanProperty, beanScope, cachedCurrentContext, definitionName, flush, isErrorIgnored, log, name, pageContext, processEndTag, ROLE_DELIMITER, tagHandler
controllerName, controllerType, page, role
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY
Constructor and Description |
---|
ELGetTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Process the start tag.
|
String |
getFlushExpr()
Getter method for "flush" tag attribute.
|
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 |
setFlushExpr(String flushExpr)
Setter method for "flush" tag attribute.
|
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.
|
createTagHandler, doEndTag, doInclude, getBeanName, getBeanProperty, getBeanScope, getDefinitionName, getFlush, getIgnore, getName, getPageContext, processAsDefinitionOrURL, processAttribute, processBean, processDefinition, processDefinitionName, processName, processNestedTag, processNestedTag, processObjectValue, processTypedAttribute, processUrl, putAttribute, putAttribute, releaseInternal, setAttribute, setBeanName, setBeanProperty, setBeanScope, setComponent, setDefinition, setFlush, setFlush, setIgnore, setName, setPageContext, userHasRole
getControllerName, getControllerType, getPage, getRole, getTemplate, setController, setControllerClass, setControllerName, setControllerType, setControllerUrl, setPage, setRole, setTemplate
public String getNameExpr()
public String getIgnoreExpr()
public String getFlushExpr()
public String getRoleExpr()
public void setNameExpr(String nameExpr)
public void setIgnoreExpr(String ignoreExpr)
public void setFlushExpr(String flushExpr)
public void setRoleExpr(String roleExpr)
public void release()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class InsertTag
javax.servlet.jsp.JspException
- if a JSP exception has occurredCopyright © 2000–2017 Apache Software Foundation. All rights reserved.