pt.despodata.java.webappl.tags
Class FormTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bypt.moredata.taglibs.AbstractTag
          extended bypt.despodata.java.webappl.tags.FormTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class FormTag
extends AbstractTag

FormTag.java Company MoreData

Version:
$Revision: 1.1 $
Author:
pcarmo
See Also:
Serialized Form

Field Summary
static java.lang.String CODE_BUFFER_KEY
           
static boolean GENERATE_JAVA_SCRIPT
          Flag que indica se a geracao de JavaScript esta activa ou nao.
 
Fields inherited from class pt.moredata.taglibs.AbstractTag
uri
 
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
FormTag()
          Creates a new instance of FormTag
 
Method Summary
 int doEndTag()
          Processa o fim da tag.
 int doStartTag()
          Processa o inicio da tag.
protected  java.lang.String getHtmlFormTag()
           
 void release()
           
 void setAction(java.lang.String action)
          Setter for property action.
 void setName(java.lang.String name)
          Setter for property name.
 void setTarget(java.lang.String target)
          Setter for property target.
 
Methods inherited from class pt.moredata.taglibs.AbstractTag
doCatch, doFinally, getAncestor, getAncestor, getUri, getVarFromJspPage, readUri, setVarInJspPage
 
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

GENERATE_JAVA_SCRIPT

public static final boolean GENERATE_JAVA_SCRIPT
Flag que indica se a geracao de JavaScript esta activa ou nao.

See Also:
Constant Field Values

CODE_BUFFER_KEY

public static final java.lang.String CODE_BUFFER_KEY
See Also:
Constant Field Values
Constructor Detail

FormTag

public FormTag()
Creates a new instance of FormTag

Method Detail

getHtmlFormTag

protected java.lang.String getHtmlFormTag()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Processa o inicio da tag.

Returns:
A accao que deve ser tomada pelo servidor de .jsp apos ler o inicio da tag.
Throws:
javax.servlet.jsp.JspTagException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException
Processa o fim da tag.

Returns:
a accao que deve ser tomada pelo servidor de .jsp apos ler a tag.
Throws:
javax.servlet.jsp.JspTagException

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

setAction

public void setAction(java.lang.String action)
Setter for property action.

Parameters:
action - New value of property action.

setTarget

public void setTarget(java.lang.String target)
Setter for property target.

Parameters:
target - New value of property target.

release

public void release()