Rank taglib ver. 1.2

    Custom JSP taglib provides user interface elements for Coldtags suite. Tag progress lets you display a progress bar. For example:
 


<%@ taglib uri="taglib.tld" prefix="r" %>

<r:progress percentage="40" width="200" height="15"/>

and you will get this picture:

   

Tag score lets you visualize some scores. For examples, this code outputs "score 3" from 1 to 5 range:
 


<r:score thisScore="3" width="200" height="15"/>

and you will get this picture:

         

Tags are:

progress

Tag implements a progress indicator. Parameters are:

1) percentage Describes a percentage (integer value).
2) width Optional parameter. Describes a width for your progress bar. Default value is 100%.
3) height Optional parameter. Describes a width for your progress bar. Default value is 10.
4) color Optional parameter. Describes a color. Default value is #FFE349.

score

Body tag describes a score grid. Parameters are:

1) thisScore Describes a score
2) maxScore Optional parameter. Describes a maximal score. Default value is 5.
3) width Optional parameter. Describes a width for your grid. Default value is 100%.
4) height Optional parameter. Describes a height for your grid. Default value is 10.
5) color Optional parameter. Describes a color. Default value is #00FF00.

for downloading:

Library: ranktag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.