org.apache.strutsel.taglib.tiles
Class ELImportAttributeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.struts.tiles.taglib.ImportAttributeTag
          extended by org.apache.strutsel.taglib.tiles.ELImportAttributeTag
All Implemented Interfaces:
Serializable, IterationTag, Tag

public class ELImportAttributeTag
extends org.apache.struts.tiles.taglib.ImportAttributeTag

Import attribute from component to requested scope. Attribute name and scope are optional. If not specified, all component attributes are imported in page scope.

This class is a subclass of the class org.apache.struts.taglib.tiles.ImportAttributeTag 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: 471754 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.tiles.taglib.ImportAttributeTag
isErrorIgnored
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
ELImportAttributeTag()
           
 
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 getScopeExpr()
          Getter method for "scope" 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 setScopeExpr(String scopeExpr)
          Setter method for "scope" tag attribute.
 
Methods inherited from class org.apache.struts.tiles.taglib.ImportAttributeTag
doEndTag, getIgnore, getName, getScope, setIgnore, setName, setScope
 
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

ELImportAttributeTag

public ELImportAttributeTag()
Method Detail

getScopeExpr

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


getNameExpr

public String getNameExpr()
Getter method for "name" tag attribute. (Mapping set in associated BeanInfo class.)


getIgnoreExpr

public String getIgnoreExpr()
Getter method for "ignore" tag attribute. (Mapping set in associated BeanInfo class.)


setScopeExpr

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


setNameExpr

public void setNameExpr(String nameExpr)
Setter method for "name" tag attribute. (Mapping set in associated BeanInfo class.)


setIgnoreExpr

public void setIgnoreExpr(String ignoreExpr)
Setter method for "ignore" tag attribute. (Mapping set in associated BeanInfo class.)


release

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

Specified by:
release in interface Tag
Overrides:
release in class org.apache.struts.tiles.taglib.ImportAttributeTag

doStartTag

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

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class org.apache.struts.tiles.taglib.ImportAttributeTag
Throws:
JspException - if a JSP exception has occurred


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.