Class ScrollTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag
Direct Known Subclasses:
PageDownTag, PageUpTag

abstract class ScrollTag extends LinkTag
A class to support tag to handle Page Up/Down links at the bottom of a view page.
Since:
1.0
Version:
10.0
Author:
Luke
  • Field Details

    • _viewTag

      protected TableTag _viewTag
    • _scrollBarTag

      protected ScrollBarTag _scrollBarTag
    • _tagLabel

      protected String _tagLabel
  • Constructor Details

    • ScrollTag

      protected ScrollTag(String label)
      Creates a new JSP tag with the specified label.
      Parameters:
      label - the label text
      See Also:
  • Method Details

    • setUrl

      public final void setUrl(String cmd)
      Updates the URL for this tag. NOT IMPLEMENTED
      Overrides:
      setUrl in class LinkTag
      Parameters:
      cmd - the target URL
      Throws:
      UnsupportedOperationException
    • setTarget

      public final void setTarget(String targetFrame)
      Updates the target frame for this tag. NOT IMPLEMENTED
      Overrides:
      setTarget in class LinkTag
      Parameters:
      targetFrame - the target frame name
      Throws:
      UnsupportedOperationException
    • buildParameters

      protected static String buildParameters(Map<String,String> params)
      A helper method to bundle request parameters into a URL string.
      Parameters:
      params - a Map of paramater name/value pairs
      Returns:
      the Query String
    • setText

      public void setText(String label)
      Updates the URL label text.
      Parameters:
      label - the new URL label
    • validateTag

      protected void validateTag() throws JspException
      Validates the tag to ensure it is contained within an enclosing <view:table> tag and an enclosing <view:scrollbar> tag.
      Throws:
      JspException - if the tag is not enclosed
    • renderLabel

      protected void renderLabel() throws JspException
      Outputs the tag label to the JSP output stream.
      Throws:
      JspException - if an error occurs