Class ScrollTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.html.ElementTag
org.deltava.taglib.html.LinkTag
org.deltava.taglib.view.ScrollTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
- Direct Known Subclasses:
PageDownTag
,PageUpTag
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 Summary
FieldsFields inherited from class org.deltava.taglib.html.ElementTag
_classes, _data, _out
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
buildParameters
(Map<String, String> params) A helper method to bundle request parameters into a URL string.protected void
Outputs the tag label to the JSP output stream.final void
Updates the target frame for this tag.void
Updates the URL label text.final void
Updates the URL for this tag.protected void
Validates the tag to ensure it is contained within an enclosing <view:table> tag and an enclosing <view:scrollbar> tag.Methods inherited from class org.deltava.taglib.html.LinkTag
doEndTag, doStartTag, release, setAnchor, setExternal, setLabel, setOnClick, validateLink
Methods inherited from class org.deltava.taglib.html.ElementTag
getFormIndexCount, getName, getParentFormTag, setClassName, setID, setNumericAttr, setPageContext, setStyle
Methods inherited from class org.deltava.taglib.BrowserInfoTag
getBrowserContext
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
Field Details
-
_viewTag
-
_scrollBarTag
-
_tagLabel
-
-
Constructor Details
-
ScrollTag
Creates a new JSP tag with the specified label.- Parameters:
label
- the label text- See Also:
-
-
Method Details
-
setUrl
Updates the URL for this tag. NOT IMPLEMENTED- Overrides:
setUrl
in classLinkTag
- Parameters:
cmd
- the target URL- Throws:
UnsupportedOperationException
-
setTarget
Updates the target frame for this tag. NOT IMPLEMENTED- Overrides:
setTarget
in classLinkTag
- Parameters:
targetFrame
- the target frame name- Throws:
UnsupportedOperationException
-
buildParameters
-
setText
-
validateTag
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
Outputs the tag label to the JSP output stream.- Throws:
JspException
- if an error occurs
-