pt.moredata.taglibs.dao
Class GetRowTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bypt.moredata.taglibs.AbstractTag
          extended bypt.moredata.taglibs.dao.DAOAbstractTag
              extended bypt.moredata.taglibs.dao.DAOAbstractDataTag
                  extended bypt.moredata.taglibs.dao.GetRowTag
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 GetRowTag
extends DAOAbstractDataTag
implements javax.servlet.jsp.tagext.TryCatchFinally

GetRowTag.java Esta classe implementa a tag Company MoreData

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

Field Summary
static java.lang.String CHECKBOX_PREFIX
           
 
Fields inherited from class pt.moredata.taglibs.dao.DAOAbstractDataTag
daoName, daoPrinter, HTML_FORM_KEY, HTML_TABLE_KEY, LEFT_ALIGNMENT, rowNumber, TOP_ALIGNMENT, TXT_KEY
 
Fields inherited from class pt.moredata.taglibs.dao.DAOAbstractTag
dao
 
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
GetRowTag()
          Creates a new instance of GetRowTag
 
Method Summary
 int doEndTag()
          Processa o fim da tag.
 void doFinally()
          Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag.
 int doStartTag()
          Processa o inicio da tag.
 boolean getCheckboxValue()
          Getter for property checkbox.
 void setCheckbox(java.lang.String checkbox)
          Setter for property checkbox.
 
Methods inherited from class pt.moredata.taglibs.dao.DAOAbstractDataTag
createDAOPrinter, findDAO, getColumnName, getHtmlName, getHtmlNamePrefix, getHtmlNameSufix, getReadOnlyValue, getRowNumberValue, getShowLabel, getUrl, setColumnName, setDaoName, setHtmlName, setHtmlNamePrefix, setHtmlNameSufix, setOutputType, setReadOnly, setRowNumber, setShowLabel
 
Methods inherited from class pt.moredata.taglibs.dao.DAOAbstractTag
getDAO
 
Methods inherited from class pt.moredata.taglibs.AbstractTag
doCatch, getAncestor, getAncestor, getUri, getVarFromJspPage, readUri, setVarInJspPage
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, 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
 

Field Detail

CHECKBOX_PREFIX

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

GetRowTag

public GetRowTag()
Creates a new instance of GetRowTag

Method Detail

doStartTag

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

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Specified by:
doStartTag in class DAOAbstractTag
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.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Specified by:
doEndTag in class DAOAbstractTag
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 DAOAbstractDataTag

getCheckboxValue

public boolean getCheckboxValue()
Getter for property checkbox.

Overrides:
getCheckboxValue in class DAOAbstractDataTag
Returns:
Value of property checkbox.

setCheckbox

public void setCheckbox(java.lang.String checkbox)
Setter for property checkbox.

Parameters:
checkbox - New value of property checkbox.