Custom JSP taglib. This taglib provides UI control
for creating menu in your applications. Sure, you have seen such a code
in many web sites: it is a vertical menu usually located at the left side
of the screen. For example:
and you will get some like this:
Here you have to provide a list of links as well as output attributes for your links: color and background. Also you may define own color and/or background for using during the hover. And parameter style lets you provide own settings for fonts, margins etc.
Also you can add a help (tooltip, popup) text for your links. For example:
and you will get this menu (try to move mouse over the items):
Here the parameter helpStyle describes a position for your popup (top:100px).
Tags are:
verticalList
Body tag lets you define a vertical list of links (menu). Parameters are:
1) id Describes a DHTML (XHTML) id.
2) width Describes a width for your control.
3) height Describes a height for your control.
4) linkColor Optional parameter. Describes a color for your links.
5) linkBackground Optional parameter. Describes a background for your links.
6) linkHoverColor Optional parameter. Describes a color for your links during the hover.
7) linkHoverBackground Optional parameter. Describes a background for your links during the hover.
8) style Optional parameter. Describes a CSS style for your menu.
9) helpStyle Optional parameter. Describes a CSS style for your popups.
element
Body tag lets you define menu's element. Parameters are: none
setLink
Body tag lets you define a hyperlink for menu's element. Parameters are:
setHelp
Body tag lets you define a popup (help) text for menu's element. Parameters are: none
for downloading:
Library: vlisttag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.