pt.despodata.java.webappl.tags
Class ButtonTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bypt.despodata.java.webappl.tags.ButtonTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
SubmitButtonTag

public class ButtonTag
extends javax.servlet.jsp.tagext.TagSupport

ButtonTag.java, Permite definir butoes de html.

Version:
$Revision: 1.1 $
Author:
Paulo Carmo
See Also:
Serialized Form

Field Summary
protected  java.lang.String inputType
           
 
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
ButtonTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Implemetacao da tag.
 void release()
          Tag handlers should always implement release() because handlers can be reused by the JSP container
 void setAction(java.lang.String action)
          Setter for property action.
 void setLabel(java.lang.String v)
          Set the value of label.
 void setOnClick(java.lang.String v)
          Set the value of onClick.
 void setOtherFrame(java.lang.String v)
          Set the value of otherFrame.
 void setRunValidate(java.lang.String runValidate)
          Setter for property runValidate.
 void setTarget(java.lang.String v)
          Set the value of target.
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

inputType

protected java.lang.String inputType
Constructor Detail

ButtonTag

public ButtonTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Implemetacao da tag.

Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setAction

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

Parameters:
action - New value of property action.

setOnClick

public void setOnClick(java.lang.String v)
Set the value of onClick.

Parameters:
v - Value to assign to onClick.

setOtherFrame

public void setOtherFrame(java.lang.String v)
Set the value of otherFrame.

Parameters:
v - Value to assign to otherFrame.

setTarget

public void setTarget(java.lang.String v)
Set the value of target.

Parameters:
v - Value to assign to target.

setLabel

public void setLabel(java.lang.String v)
Set the value of label.

Parameters:
v - Value to assign to label.

toString

public java.lang.String toString()

release

public void release()
Tag handlers should always implement release() because handlers can be reused by the JSP container


setRunValidate

public void setRunValidate(java.lang.String runValidate)
Setter for property runValidate.

Parameters:
runValidate - New value of property runValidate.