org.apache.strutsel.taglib.bean
Class ELPageTag

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

public class ELPageTag
extends PageTag

Define a scripting variable that exposes the requested page context item as a scripting variable and a page scope bean.

This class is a subclass of the class org.apache.struts.taglib.bean.PageTag 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.taglib.bean.PageTag
id, messages, property
 
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
ELPageTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag.
 String getIdExpr()
          Getter method for "id" tag attribute.
 String getPropertyExpr()
          Getter method for "property" tag attribute.
 void release()
          Resets attribute values for tag reuse.
 void setIdExpr(String idExpr)
          Setter method for "id" tag attribute.
 void setPropertyExpr(String propertyExpr)
          Setter method for "property" tag attribute.
 
Methods inherited from class org.apache.struts.taglib.bean.PageTag
getId, getProperty, setId, setProperty
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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
 

Constructor Detail

ELPageTag

public ELPageTag()
Method Detail

getIdExpr

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


getPropertyExpr

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


setIdExpr

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


setPropertyExpr

public void setPropertyExpr(String propertyExpr)
Setter method for "property" 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 PageTag

doStartTag

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

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class PageTag
Throws:
JspException - if a JSP exception has occurred


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