pt.moredata.dataentry.taglibs
Class ModifyButtonTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bypt.moredata.taglibs.widgets.ButtonTag
              extended bypt.moredata.dataentry.taglibs.ButtonTag
                  extended bypt.moredata.dataentry.taglibs.ModifyButtonTag
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

public class ModifyButtonTag
extends ButtonTag
implements javax.servlet.jsp.tagext.TryCatchFinally

Company MoreData

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

Field Summary
 
Fields inherited from class pt.moredata.dataentry.taglibs.ButtonTag
BUTTON_NAME_SUFIX, FILE_NAME_SUFIX
 
Fields inherited from class pt.moredata.taglibs.widgets.ButtonTag
_button, _out, _parent
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
ModifyButtonTag()
           
 
Method Summary
protected  void createJspButton()
          Creates the JspButton Object.
 int doAfterBody()
          Metodo executado em cada iteracao depois de se ter processado o conteudo da tag.
 int doEndTag()
          Processa o fim da tag.
 void doFinally()
          Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag.
 void setDisabled(java.lang.String disabled)
          Setter for property disabled.
 void setHide(java.lang.String hide)
          Setter for property hide.
 void setNewValue(java.lang.String value)
          Setter for property value.
 void setValue(java.lang.String value)
          Setter for property value.
 
Methods inherited from class pt.moredata.dataentry.taglibs.ButtonTag
printTag, setFileName, setName
 
Methods inherited from class pt.moredata.taglibs.widgets.ButtonTag
doCatch, doStartTag, setAccesskey, setBodyContentString, setClass, setDir, setId, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setStyle, setTabindex, setTitle, setType
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
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
 

Constructor Detail

ModifyButtonTag

public ModifyButtonTag()
Method Detail

createJspButton

protected void createJspButton()
Creates the JspButton Object.


doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException
Metodo executado em cada iteracao depois de se ter processado o conteudo da tag.

Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class ButtonTag
Returns:
SKIP_BODY.
Throws:
javax.servlet.jsp.JspTagException - Caso ocorra algum erro a processar a tag.

doEndTag

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

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class ButtonTag
Returns:
a accao que deve ser tomada pelo servidor de .jsp apos ler a tag.
Throws:
javax.servlet.jsp.JspTagException

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 ButtonTag

setValue

public void setValue(java.lang.String value)
Setter for property value.

Overrides:
setValue in class ButtonTag
Parameters:
value - New value of property value.

setNewValue

public void setNewValue(java.lang.String value)
Setter for property value.

Parameters:
value - New value of property value.

setDisabled

public void setDisabled(java.lang.String disabled)
Setter for property disabled.

Overrides:
setDisabled in class ButtonTag
Parameters:
disabled - New value of property disabled.

setHide

public void setHide(java.lang.String hide)
Setter for property hide.

Parameters:
hide - New value of property hide.