org.infoglue.cms.workflow.taglib
Class FormTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.infoglue.deliver.taglib.AbstractTag
          extended by org.infoglue.cms.workflow.taglib.WorkflowTag
              extended by org.infoglue.cms.workflow.taglib.FormTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class FormTag
extends WorkflowTag

This class implements the <iw:form> tag, which presents an <form ... /> element with all the attributes and hidden fields properly initialized as required by the workflow framework.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.workflow.taglib.WorkflowTag
ACTION_ID_PARAMETER, WORKFLOW_ID_PARAMETER
 
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
FormTag()
          Default constructor.
 
Method Summary
 int doEndTag()
          Process the end tag.
 int doStartTag()
          Process the start tag.
 
Methods inherited from class org.infoglue.cms.workflow.taglib.WorkflowTag
getActionID, getPrincipal, getPropertySet, getWorkflowID
 
Methods inherited from class org.infoglue.deliver.taglib.AbstractTag
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormTag

public FormTag()
Default constructor.

Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag. Writes the start tag of the form element and the required hidden fields to the output stream.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
indication of whether to evaluate the body or not.
Throws:
javax.servlet.jsp.JspException - if an I/O error occurs when writing to the output stream.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end tag. Writes the end tag of the form element to the output stream.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
indication of whether to continue evaluating the JSP page.
Throws:
javax.servlet.jsp.JspException - if an I/O error occurs when writing to the output stream.


Copyright © 2005 InfoGlue.org All Rights Reserved.