Custom JSP taglib lets you describe a group of controls that will be visible or invisible
depends on some check box state (radio button, link). For example:
and you will get this (try to check/uncheck this control):
Extra info Name: Phone:
You can use hyperlink or radio button as well:
and you will get this:
Extra info Name: Phone:
Tags are:
ToggledPanel
Body tag lets you define a group of controls with switched visibility. Tags body describes a collection of HTML (JSP) tags.
1) name Optional parameter. Describes a name for your switch
control. Default value is toggledpanel.
2) type Optional parameter. Describes a type for your switch. Possible values
are checkbox, link or radio. Default value is checkbox.
3) title Optional parameter. Describes a title (caption) for your control.
By default it is empty.
4) visible Optional parameter. Describes an initial state for your panel.
Possible values are true or false. Default value is false
for downloading:
Library: toggledpaneltag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.