HDIV API 2.0.4

org.hdiv.taglib.html
Class FormTagHDIV

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.struts.taglib.html.FormTag
          extended by org.hdiv.taglib.html.FormTagHDIV
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ELFormTagHDIV, NestedFormTagHDIV

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

Renders an HTML <form> element whose contents are described by the body content of this tag. The form implicitly interacts with the specified request scope or session scope bean to populate the input fields with the current property values from the bean. The form bean is located, and created if necessary, based on the form bean specification for the associated ActionMapping.

Author:
Aritz Rabadan, Gorka Vicente
See Also:
FormTag, Serialized Form

Field Summary
 
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
FormTagHDIV()
           
 
Method Summary
protected  void addHDIVParameter()
          Adds HDIV state as parameter.
 int doEndTag()
          Render the end of this form adding HDIV parameter if strategy is cipher or hash.
protected  void renderAction(java.lang.StringBuffer results)
          Renders the action attribute
 
Methods inherited from class org.apache.struts.taglib.html.FormTag
doStartTag, getAcceptCharset, getAction, getBeanName, getEnctype, getFocus, getFocusIndex, getMethod, getOnreset, getOnsubmit, getScriptLanguage, getStyle, getStyleClass, getStyleId, getTarget, initFormBean, isDisabled, isReadonly, lookup, release, 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
 

Constructor Detail

FormTagHDIV

public FormTagHDIV()
Method Detail

renderAction

protected void renderAction(java.lang.StringBuffer results)
Renders the action attribute

Overrides:
renderAction in class org.apache.struts.taglib.html.FormTag
See Also:
org.hdiv.composer.IDataComposer, HDIVUtil.composeAction(String, int, String)

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Render the end of this form adding HDIV parameter if strategy is cipher or hash.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class org.apache.struts.taglib.html.FormTag
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

addHDIVParameter

protected void addHDIVParameter()
                         throws javax.servlet.jsp.JspException
Adds HDIV state as parameter.

Throws:
javax.servlet.jsp.JspException

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.