Class RowTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class RowTag extends ElementTag
A JSP Tag to render view table rows with a specified CSS class.
Since:
1.0
Version:
11.0
Author:
Luke
See Also:
  • Constructor Details

    • RowTag

      public RowTag()
      Creates the tag.
  • Method Details

    • setEntry

      public void setEntry(Object obj)
      Sets the entry to display in the table row.
      Parameters:
      obj - the Object to display.
    • doStartTag

      public int doStartTag() throws JspException
      Opens the table row by rendering a <TR> tag to the JSP output stream. If a CSS class name has been specified, then this will be set as the CLASS for the row. If the entry implements the ViewEntry interface, then the tableRowClassName property will be used as the class name. If the class name is NULL, no class property for the row will be set.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class ElementTag
      Returns:
      TagSupport.EVAL_BODY_INCLUDE
      Throws:
      JspException - if an I/O error occurs
    • doEndTag

      public int doEndTag() throws JspException
      Closes the table row by printing a </TR> tag to the JSP output stream.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Returns:
      TagSupport.EVAL_PAGE
      Throws:
      JspException - if an I/O error occurs