org.apache.strutsel.taglib.bean
Class ELResourceTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.struts.taglib.bean.ResourceTag
          extended byorg.apache.strutsel.taglib.bean.ELResourceTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ELResourceTag
extends org.apache.struts.taglib.bean.ResourceTag

Define a scripting variable based on the contents of the specified web application resource.

This class is a subclass of the class org.apache.struts.taglib.bean.ResourceTag 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 idExpr
          Instance variable mapped to "id" tag attribute.
private  java.lang.String inputExpr
          Instance variable mapped to "input" tag attribute.
private  java.lang.String nameExpr
          Instance variable mapped to "name" tag attribute.
 
Fields inherited from class org.apache.struts.taglib.bean.ResourceTag
BUFFER_SIZE, id, input, messages, name
 
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
ELResourceTag()
           
 
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 getIdExpr()
          Getter method for "id" tag attribute.
 java.lang.String getInputExpr()
          Getter method for "input" tag attribute.
 java.lang.String getNameExpr()
          Getter method for "name" tag attribute.
 void release()
          Resets attribute values for tag reuse.
 void setIdExpr(java.lang.String idExpr)
          Setter method for "id" tag attribute.
 void setInputExpr(java.lang.String inputExpr)
          Setter method for "input" tag attribute.
 void setNameExpr(java.lang.String nameExpr)
          Setter method for "name" tag attribute.
 
Methods inherited from class org.apache.struts.taglib.bean.ResourceTag
getId, getInput, getName, setId, setInput, setName
 
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
 

Field Detail

idExpr

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


inputExpr

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


nameExpr

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

Constructor Detail

ELResourceTag

public ELResourceTag()
Method Detail

getIdExpr

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


getInputExpr

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


getNameExpr

public java.lang.String getNameExpr()
Getter method for "name" 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.)


setInputExpr

public void setInputExpr(java.lang.String inputExpr)
Setter method for "input" tag attribute. (Mapping set in associated BeanInfo class.)


setNameExpr

public void setNameExpr(java.lang.String nameExpr)
Setter method for "name" 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