org.apache.strutsel.taglib.html
Class ELFormTag

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

public class ELFormTag
extends org.apache.struts.taglib.html.FormTag

Custom tag that represents an input form, associated with a bean whose properties correspond to the various fields of the form.

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

Field Summary
private  java.lang.String acceptCharsetExpr
          Instance variable mapped to "acceptCharset" tag attribute.
private  java.lang.String actionExpr
          Instance variable mapped to "action" tag attribute.
private  java.lang.String disabledExpr
          Instance variable mapped to "disabled" tag attribute.
private  java.lang.String enctypeExpr
          Instance variable mapped to "enctype" tag attribute.
private  java.lang.String focusExpr
          Instance variable mapped to "focus" tag attribute.
private  java.lang.String focusIndexExpr
          Instance variable mapped to "focusIndex" tag attribute.
private  java.lang.String methodExpr
          Instance variable mapped to "method" tag attribute.
private  java.lang.String onresetExpr
          Instance variable mapped to "onreset" tag attribute.
private  java.lang.String onsubmitExpr
          Instance variable mapped to "onsubmit" tag attribute.
private  java.lang.String readonlyExpr
          Instance variable mapped to "readonly" tag attribute.
private  java.lang.String scriptLanguageExpr
          Instance variable mapped to "scriptLanguage" tag attribute.
private  java.lang.String styleClassExpr
          Instance variable mapped to "styleClass" tag attribute.
private  java.lang.String styleExpr
          Instance variable mapped to "style" tag attribute.
private  java.lang.String styleIdExpr
          Instance variable mapped to "styleId" tag attribute.
private  java.lang.String targetExpr
          Instance variable mapped to "target" tag attribute.
 
Fields inherited from class org.apache.struts.taglib.html.FormTag
acceptCharset, action, beanName, beanScope, beanType, enctype, focus, focusIndex, lineEnd, mapping, messages, method, moduleConfig, onreset, onsubmit, readonly, scriptLanguage, servlet, style, styleClass, styleId, target
 
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
ELFormTag()
           
 
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 getAcceptCharsetExpr()
          Getter method for "acceptCharset" tag attribute.
 java.lang.String getActionExpr()
          Getter method for "action" tag attribute.
 java.lang.String getDisabledExpr()
          Getter method for "disabled" tag attribute.
 java.lang.String getEnctypeExpr()
          Getter method for "enctype" tag attribute.
 java.lang.String getFocusExpr()
          Getter method for "focus" tag attribute.
 java.lang.String getFocusIndexExpr()
          Getter method for "focusIndex" tag attribute.
 java.lang.String getMethodExpr()
          Getter method for "method" tag attribute.
 java.lang.String getOnresetExpr()
          Getter method for "onreset" tag attribute.
 java.lang.String getOnsubmitExpr()
          Getter method for "onsubmit" tag attribute.
 java.lang.String getReadonlyExpr()
          Getter method for "readonly" tag attribute.
 java.lang.String getScriptLanguageExpr()
          Getter method for "scriptLanguage" tag attribute.
 java.lang.String getStyleClassExpr()
          Getter method for "styleClass" tag attribute.
 java.lang.String getStyleExpr()
          Getter method for "style" tag attribute.
 java.lang.String getStyleIdExpr()
          Getter method for "styleId" tag attribute.
 java.lang.String getTargetExpr()
          Getter method for "target" tag attribute.
 void release()
          Resets attribute values for tag reuse.
 void setAcceptCharsetExpr(java.lang.String acceptCharsetExpr)
          Setter method for "acceptCharset" tag attribute.
 void setActionExpr(java.lang.String actionExpr)
          Setter method for "action" tag attribute.
 void setDisabledExpr(java.lang.String disabledExpr)
          Setter method for "disabled" tag attribute.
 void setEnctypeExpr(java.lang.String enctypeExpr)
          Setter method for "enctype" tag attribute.
 void setFocusExpr(java.lang.String focusExpr)
          Setter method for "focus" tag attribute.
 void setFocusIndexExpr(java.lang.String focusIndexExpr)
          Setter method for "focusIndex" tag attribute.
 void setMethodExpr(java.lang.String methodExpr)
          Setter method for "method" tag attribute.
 void setOnresetExpr(java.lang.String onresetExpr)
          Setter method for "onreset" tag attribute.
 void setOnsubmitExpr(java.lang.String onsubmitExpr)
          Setter method for "onsubmit" tag attribute.
 void setReadonlyExpr(java.lang.String readonlyExpr)
          Setter method for "readonly" tag attribute.
 void setScriptLanguageExpr(java.lang.String scriptLanguageExpr)
          Setter method for "scriptLanguage" tag attribute.
 void setStyleClassExpr(java.lang.String styleClassExpr)
          Setter method for "styleClass" tag attribute.
 void setStyleExpr(java.lang.String styleExpr)
          Setter method for "style" tag attribute.
 void setStyleIdExpr(java.lang.String styleIdExpr)
          Setter method for "styleId" tag attribute.
 void setTargetExpr(java.lang.String targetExpr)
          Setter method for "target" tag attribute.
 
Methods inherited from class org.apache.struts.taglib.html.FormTag
doEndTag, getAcceptCharset, getAction, getBeanName, getEnctype, getFocus, getFocusIndex, getMethod, getOnreset, getOnsubmit, getScriptLanguage, getStyle, getStyleClass, getStyleId, getTarget, initFormBean, isDisabled, isReadonly, lookup, renderAction, renderAttribute, renderFocusJavascript, renderFormStartElement, renderName, renderOtherAttributes, renderToken, setAcceptCharset, setAction, setDisabled, setEnctype, setFocus, setFocusIndex, setMethod, setOnreset, setOnsubmit, setReadonly, setScriptLanguage, setStyle, setStyleClass, setStyleId, setTarget
 
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
 

Field Detail

actionExpr

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


disabledExpr

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


enctypeExpr

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


focusExpr

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


focusIndexExpr

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


methodExpr

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


onresetExpr

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


onsubmitExpr

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


readonlyExpr

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


scriptLanguageExpr

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


styleExpr

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


styleClassExpr

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


styleIdExpr

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


targetExpr

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


acceptCharsetExpr

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

Constructor Detail

ELFormTag

public ELFormTag()
Method Detail

getActionExpr

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


getDisabledExpr

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


getEnctypeExpr

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


getFocusExpr

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


getFocusIndexExpr

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


getMethodExpr

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


getOnresetExpr

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


getOnsubmitExpr

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


getReadonlyExpr

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


getScriptLanguageExpr

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


getStyleExpr

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


getStyleClassExpr

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


getStyleIdExpr

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


getTargetExpr

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


getAcceptCharsetExpr

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


setActionExpr

public void setActionExpr(java.lang.String actionExpr)
Setter method for "action" tag attribute. (Mapping set in associated BeanInfo class.)


setDisabledExpr

public void setDisabledExpr(java.lang.String disabledExpr)
Setter method for "disabled" tag attribute. (Mapping set in associated BeanInfo class.)


setEnctypeExpr

public void setEnctypeExpr(java.lang.String enctypeExpr)
Setter method for "enctype" tag attribute. (Mapping set in associated BeanInfo class.)


setFocusExpr

public void setFocusExpr(java.lang.String focusExpr)
Setter method for "focus" tag attribute. (Mapping set in associated BeanInfo class.)


setFocusIndexExpr

public void setFocusIndexExpr(java.lang.String focusIndexExpr)
Setter method for "focusIndex" tag attribute. (Mapping set in associated BeanInfo class.)


setMethodExpr

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


setOnresetExpr

public void setOnresetExpr(java.lang.String onresetExpr)
Setter method for "onreset" tag attribute. (Mapping set in associated BeanInfo class.)


setOnsubmitExpr

public void setOnsubmitExpr(java.lang.String onsubmitExpr)
Setter method for "onsubmit" tag attribute. (Mapping set in associated BeanInfo class.)


setReadonlyExpr

public void setReadonlyExpr(java.lang.String readonlyExpr)
Setter method for "readonly" tag attribute. (Mapping set in associated BeanInfo class.)


setScriptLanguageExpr

public void setScriptLanguageExpr(java.lang.String scriptLanguageExpr)
Setter method for "scriptLanguage" tag attribute. (Mapping set in associated BeanInfo class.)


setStyleExpr

public void setStyleExpr(java.lang.String styleExpr)
Setter method for "style" tag attribute. (Mapping set in associated BeanInfo class.)


setStyleClassExpr

public void setStyleClassExpr(java.lang.String styleClassExpr)
Setter method for "styleClass" tag attribute. (Mapping set in associated BeanInfo class.)


setStyleIdExpr

public void setStyleIdExpr(java.lang.String styleIdExpr)
Setter method for "styleId" tag attribute. (Mapping set in associated BeanInfo class.)


setTargetExpr

public void setTargetExpr(java.lang.String targetExpr)
Setter method for "target" tag attribute. (Mapping set in associated BeanInfo class.)


setAcceptCharsetExpr

public void setAcceptCharsetExpr(java.lang.String acceptCharsetExpr)
Setter method for "acceptCharset" 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