Custom JSP tag. This taglib is similar to our Toggled panel and lets you create hidden panel in your web front-end.
For example:
and you will get this (try to click on the image):
Tags are:
hiddenPanel
Body tag. Lets you create a hidden panel. Tag's body describes your HTML/JSP code for the panel. Parameters are:
1) text describes a text (caption)
2) visible Optional parameter. Possible values are true or false.
This parameter describes an initial state (visible or not). Default value is false.
3) idPanel Optional parameter. Describes a DHTML ID for the panel.
4) style Optional parameter. Describes a CSS style for the panel
5) className Optional parameter. Describes a CSS class for the panel
6) openedImage Optional parameter. Describes an image for the panel in the visible state. Default value is opentriangle.gif.
7) closedImage Optional parameter. Describes an image for the panel in the non-visible state.
Default value is triangle.gif.
for downloading:
Library: hiddenpaneltag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.