pt.moredata.dataentry.taglibs
Class ButtonTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
pt.moredata.taglibs.widgets.ButtonTag
pt.moredata.dataentry.taglibs.ButtonTag
- 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:
- ModifyButtonTag
- public class ButtonTag
- extends ButtonTag
Company MoreData
- Version:
- $Revision: 1.13 $
- Author:
- pcarmo
- See Also:
- Serialized Form
| 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 |
ButtonTag()
Creates a new instance of ButtonTag |
|
Method Summary |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag,
IterationTag or BodyTag. |
protected void |
printTag()
Imprime o codigo do botao em HTML. |
void |
setFileName(java.lang.String fileName)
Setter for property fileName. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setValue(java.lang.String value)
Setter for property value. |
| Methods inherited from class pt.moredata.taglibs.widgets.ButtonTag |
doAfterBody, doCatch, doEndTag, doStartTag, setAccesskey, setBodyContentString, setClass, setDir, setDisabled, 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.Tag |
getParent, setPageContext, setParent |
BUTTON_NAME_SUFIX
public static final java.lang.String BUTTON_NAME_SUFIX
- See Also:
- Constant Field Values
FILE_NAME_SUFIX
public static final java.lang.String FILE_NAME_SUFIX
- See Also:
- Constant Field Values
ButtonTag
public ButtonTag()
- Creates a new instance of ButtonTag
printTag
protected void printTag()
throws java.io.IOException
- Imprime o codigo do botao em HTML.
- Overrides:
printTag in class ButtonTag
- 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 ButtonTag
setName
public void setName(java.lang.String name)
- Setter for property name.
- Overrides:
setName in class ButtonTag
- Parameters:
name - New value of property name.
setValue
public void setValue(java.lang.String value)
- Setter for property value.
- Overrides:
setValue in class ButtonTag
- Parameters:
value - New value of property value.
setFileName
public void setFileName(java.lang.String fileName)
- Setter for property fileName.
- Parameters:
fileName - New value of property fileName.