Class TableTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class TableTag extends TableTag
A JSP tag to support database view tables.
Since:
1.0
Version:
5.1
Author:
Luke
See Also:
  • Constructor Details

    • TableTag

      public TableTag()
  • Method Details

    • setCmd

      public void setCmd(String name)
      Sets the Web Site Command to execute when scrolling through the view.
      Parameters:
      name - the command ID
      See Also:
    • setSize

      public void setSize(int size)
      Sets the number of view rows to display.
      Parameters:
      size - the number of rows
      See Also:
    • doStartTag

      public int doStartTag() throws JspException
      Renders the tag to the JSP output stream.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class TableTag
      Returns:
      EVAL_PAGE
      Throws:
      JspException - if an error occurs
    • doEndTag

      public int doEndTag() throws JspException
      Renders the tag to the JSP output stream.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TableTag
      Returns:
      EVAL_PAGE
      Throws:
      JspException - if an error occurs
    • release

      public void release()
      Releases the tag's state variables.
      Specified by:
      release in interface Tag
      Overrides:
      release in class ElementTag
    • getCmd

      protected String getCmd()
      Returns the view command ID (for unit tests).
      Returns:
      the command ID
      See Also:
    • size

      protected int size()
      Returns the view scroll window size (for unit tests).
      Returns:
      the number of rows
      See Also: