org.apache.strutsel.taglib.tiles
Class ELDefinitionTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.struts.taglib.tiles.DefinitionTagSupport
          extended byorg.apache.struts.taglib.tiles.DefinitionTag
              extended byorg.apache.strutsel.taglib.tiles.ELDefinitionTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, org.apache.struts.taglib.tiles.PutListTagParent, org.apache.struts.taglib.tiles.PutTagParent, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ELDefinitionTag
extends org.apache.struts.taglib.tiles.DefinitionTag

This is the tag handler for <tiles:definition>, which defines a tiles (or template / component). Definition is put in requested context and can be used in <tiles:insert>.

This class is a subclass of the class org.apache.struts.taglib.tiles.DefinitionTag 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.

Version:
$Rev: 54933 $
See Also:
Serialized Form

Field Summary
private  java.lang.String extendsExpr
          Instance variable mapped to "extends" tag attribute.
private  java.lang.String idExpr
          Instance variable mapped to "id" tag attribute.
private  java.lang.String pageExpr
          Instance variable mapped to "page" tag attribute.
private  java.lang.String roleExpr
          Instance variable mapped to "role" tag attribute.
private  java.lang.String scopeExpr
          Instance variable mapped to "scope" tag attribute.
private  java.lang.String templateExpr
          Instance variable mapped to "template" tag attribute.
 
Fields inherited from class org.apache.struts.taglib.tiles.DefinitionTag
 
Fields inherited from class org.apache.struts.taglib.tiles.DefinitionTagSupport
controllerName, controllerType, page, role
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
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
ELDefinitionTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag.
private  void evaluateExpressions()
          Processes all attribute values which use the JSTL expression evaluation engine to determine their values.
 java.lang.String getExtendsExpr()
          Getter method for "extends" tag attribute.
 java.lang.String getIdExpr()
          Getter method for "id" tag attribute.
 java.lang.String getPageExpr()
          Getter method for "page" tag attribute.
 java.lang.String getRoleExpr()
          Getter method for "role" tag attribute.
 java.lang.String getScopeExpr()
          Getter method for "scope" tag attribute.
 java.lang.String getTemplateExpr()
          Getter method for "template" tag attribute.
 void release()
          Resets attribute values for tag reuse.
 void setExtendsExpr(java.lang.String extendsExpr)
          Setter method for "extends" tag attribute.
 void setIdExpr(java.lang.String idExpr)
          Setter method for "id" tag attribute.
 void setPageExpr(java.lang.String pageExpr)
          Setter method for "page" tag attribute.
 void setRoleExpr(java.lang.String roleExpr)
          Setter method for "role" tag attribute.
 void setScopeExpr(java.lang.String scopeExpr)
          Setter method for "scope" tag attribute.
 void setTemplateExpr(java.lang.String templateExpr)
          Setter method for "template" tag attribute.
 
Methods inherited from class org.apache.struts.taglib.tiles.DefinitionTag
doEndTag, getExtends, getId, getScope, processNestedTag, processNestedTag, putAttribute, releaseInternal, setExtends, setId, setScope
 
Methods inherited from class org.apache.struts.taglib.tiles.DefinitionTagSupport
getControllerName, getControllerType, getPage, getRole, getTemplate, setController, setControllerClass, setControllerName, setControllerType, setControllerUrl, setPage, setRole, setTemplate
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idExpr

private java.lang.String idExpr
Instance variable mapped to "id" tag attribute. (Mapping set in associated BeanInfo class.)


scopeExpr

private java.lang.String scopeExpr
Instance variable mapped to "scope" tag attribute. (Mapping set in associated BeanInfo class.)


templateExpr

private java.lang.String templateExpr
Instance variable mapped to "template" tag attribute. (Mapping set in associated BeanInfo class.)


pageExpr

private java.lang.String pageExpr
Instance variable mapped to "page" tag attribute. (Mapping set in associated BeanInfo class.)


roleExpr

private java.lang.String roleExpr
Instance variable mapped to "role" tag attribute. (Mapping set in associated BeanInfo class.)


extendsExpr

private java.lang.String extendsExpr
Instance variable mapped to "extends" tag attribute. (Mapping set in associated BeanInfo class.)

Constructor Detail

ELDefinitionTag

public ELDefinitionTag()
Method Detail

getIdExpr

public java.lang.String getIdExpr()
Getter method for "id" tag attribute. (Mapping set in associated BeanInfo class.)


getScopeExpr

public java.lang.String getScopeExpr()
Getter method for "scope" tag attribute. (Mapping set in associated BeanInfo class.)


getTemplateExpr

public java.lang.String getTemplateExpr()
Getter method for "template" tag attribute. (Mapping set in associated BeanInfo class.)


getPageExpr

public java.lang.String getPageExpr()
Getter method for "page" tag attribute. (Mapping set in associated BeanInfo class.)


getRoleExpr

public java.lang.String getRoleExpr()
Getter method for "role" tag attribute. (Mapping set in associated BeanInfo class.)


getExtendsExpr

public java.lang.String getExtendsExpr()
Getter method for "extends" tag attribute. (Mapping set in associated BeanInfo class.)


setIdExpr

public void setIdExpr(java.lang.String idExpr)
Setter method for "id" tag attribute. (Mapping set in associated BeanInfo class.)


setScopeExpr

public void setScopeExpr(java.lang.String scopeExpr)
Setter method for "scope" tag attribute. (Mapping set in associated BeanInfo class.)


setTemplateExpr

public void setTemplateExpr(java.lang.String templateExpr)
Setter method for "template" tag attribute. (Mapping set in associated BeanInfo class.)


setPageExpr

public void setPageExpr(java.lang.String pageExpr)
Setter method for "page" tag attribute. (Mapping set in associated BeanInfo class.)


setRoleExpr

public void setRoleExpr(java.lang.String roleExpr)
Setter method for "role" tag attribute. (Mapping set in associated BeanInfo class.)


setExtendsExpr

public void setExtendsExpr(java.lang.String extendsExpr)
Setter method for "extends" tag attribute. (Mapping set in associated BeanInfo class.)


release

public void release()
Resets attribute values for tag reuse.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

evaluateExpressions

private void evaluateExpressions()
                          throws javax.servlet.jsp.JspException
Processes all attribute values which use the JSTL expression evaluation engine to determine their values.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred


Copyright ? 2000-2005 - The Apache Software Foundation