Custom JSP taglib. Tag spin lets you implement
a well know for GUI programmers spin control. For example:
and you will get some like this:
Of course, you have to place this control within some HTML form (or within our form tag).
Tags are:
spin
Custom tag for spin control. Parameters are:
1) name describes a name for this element
2) style Optional parameter. Describes your own CSS style
3) className Optional parameter. Describes your own CSS class
4) initValue Optional parameter. Describes
an initial value. Default value is 1.
5) minValue Optional parameter. Describes
a minimal value. By default is not defined.
6) maxValue Optional parameter. Describes
a maximal value. By default is not defined.
7) step Optional parameter. Describes
a step for increment/decrement. Default value is 1.
8) edit Optional parameter. Enables/disables
direct changes for control. Default value is true (enabled).
9) border Optional parameter. Describes
a border drawing policy (draw/do not draw). Default value is true
10) imageUp Optional parameter. Describes
an URL for top picture. Default value is up.jpg (see downloading)
11) imageDown Optional parameter. Describes
an URL for bottom picture. Default value is down.jpg (see downloading)
for downloading:
Library: spintag.jar Description: taglib.tld
Default images: up.jpg down.jpg
See also Coldtags suite - the largest collection of custom JSP tags.
Related links: