pt.moredata.taglibs.widgets
Class FormTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bypt.moredata.taglibs.widgets.AbstractHtmlTag
              extended bypt.moredata.taglibs.widgets.FormTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
FormTag

public class FormTag
extends AbstractHtmlTag
implements javax.servlet.jsp.tagext.TryCatchFinally

FormTag.java Implementação da tag responsavel pela interação com a servlet que controla o DataEntry. Company MoreData

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

Field Summary
protected  java.lang.String acceptcharset
           
protected  java.lang.String action
           
protected  java.lang.String enctype
           
protected  java.lang.String method
           
protected  java.lang.String target
           
 
Fields inherited from class pt.moredata.taglibs.widgets.AbstractHtmlTag
_class, _out, align, alt, border, dir, id, lang, name, onabort, onblur, onchange, onclick, ondblclick, onerror, onfocus, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onreset, onselect, onsubmit, size, src, style, title, usemap
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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()
           
 
Method Summary
 void doFinally()
          Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag.
protected  void printActionAttribute()
          Imprime para o buffer o atributo 'onchange'.
protected  void printAttributes()
          Imprime para o buffer os atributos da tag.
protected  void printEnctypeAttribute()
          Imprime para o buffer o atributo 'onchange'.
protected  void printEndTag()
          Imprime para o buffer o fim da tag.
protected  void printJavaScriptAtBegin()
          Imprime codigo em javascript, antes do inicio da tag.
protected  void printJavaScriptAtEnd()
          Imprime codigo em javascript, depois do fim da tag.
protected  void printMethodAttribute()
          Imprime para o buffer o atributo 'onchange'.
protected  void printStartTag()
          Imprime para o buffer o inicio da tag.
 void setAcceptcharset(java.lang.String acceptcharset)
          Setter for property acceptcharset.
 void setAction(java.lang.String action)
          Setter for property action.
 void setEnctype(java.lang.String enctype)
          Setter for property enctype.
 void setMethod(java.lang.String method)
          Setter for property method.
 void setTarget(java.lang.String target)
          Setter for property target.
 
Methods inherited from class pt.moredata.taglibs.widgets.AbstractHtmlTag
doCatch, doEndTag, doStartTag, init, printAltAttribute, printBodyTag, printClassAttribute, printNameAttribute, printOnChangeAttribute, printOnFocusAttribute, printOnSubmitAttribute, printSrcAttribute, setAlign, setAlt, setBorder, setClass, setDir, setId, setLang, setName, setOnabort, setOnblur, setOnchange, setOnclick, setOndblclick, setOnerror, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnreset, setOnselect, setOnsubmit, setSize, setSrc, setStyle, setTitle, setUsemap
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, 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
 
Methods inherited from interface javax.servlet.jsp.tagext.TryCatchFinally
doCatch
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

acceptcharset

protected java.lang.String acceptcharset

action

protected java.lang.String action

enctype

protected java.lang.String enctype

method

protected java.lang.String method

target

protected java.lang.String target
Constructor Detail

FormTag

public FormTag()
Method Detail

printStartTag

protected void printStartTag()
                      throws java.io.IOException
Imprime para o buffer o inicio da tag.

Specified by:
printStartTag in class AbstractHtmlTag
Throws:
java.io.IOException

printActionAttribute

protected void printActionAttribute()
                             throws java.io.IOException
Imprime para o buffer o atributo 'onchange'.

Throws:
java.io.IOException

printEnctypeAttribute

protected void printEnctypeAttribute()
                              throws java.io.IOException
Imprime para o buffer o atributo 'onchange'.

Throws:
java.io.IOException

printMethodAttribute

protected void printMethodAttribute()
                             throws java.io.IOException
Imprime para o buffer o atributo 'onchange'.

Throws:
java.io.IOException

printAttributes

protected void printAttributes()
                        throws java.io.IOException
Imprime para o buffer os atributos da tag.

Overrides:
printAttributes in class AbstractHtmlTag
Throws:
java.io.IOException

printEndTag

protected void printEndTag()
                    throws java.io.IOException
Imprime para o buffer o fim da tag.

Specified by:
printEndTag in class AbstractHtmlTag
Throws:
java.io.IOException

printJavaScriptAtBegin

protected void printJavaScriptAtBegin()
                               throws java.io.IOException
Imprime codigo em javascript, antes do inicio da tag.

Specified by:
printJavaScriptAtBegin in class AbstractHtmlTag
Throws:
java.io.IOException

printJavaScriptAtEnd

protected void printJavaScriptAtEnd()
                             throws java.io.IOException
Imprime codigo em javascript, depois do fim da tag.

Specified by:
printJavaScriptAtEnd in class AbstractHtmlTag
Throws:
java.io.IOException

doFinally

public void doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. This method is invoked even if an exception has occurred in the BODY of the tag, or in any of the following methods: Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and BodyTag.doInitBody(). This method is not invoked if the Throwable occurs during one of the setter methods. This method should not throw an Exception. This method is intended to maintain per-invocation data integrity and resource management actions.

Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally
Overrides:
doFinally in class AbstractHtmlTag

setAcceptcharset

public void setAcceptcharset(java.lang.String acceptcharset)
Setter for property acceptcharset.

Parameters:
acceptcharset - New value of property acceptcharset.

setAction

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

Parameters:
action - New value of property action.

setEnctype

public void setEnctype(java.lang.String enctype)
Setter for property enctype.

Parameters:
enctype - New value of property enctype.

setMethod

public void setMethod(java.lang.String method)
Setter for property method.

Parameters:
method - New value of property method.

setTarget

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

Parameters:
target - New value of property target.