JSP custom taglib for UI development. This taglib lets you add a special behavior for your checkboxes.
Only one checkbox can be checked at a time. It is useful when only one of choices can be chosen, similar to a radio button.
But the use of checkboxes lets you to uncheck something what is not possible with radio buttons.
For example:
<%@ taglib uri="taglib.tld" prefix="e" %> <form> <input type="checkbox" name="opt1" value="must_have" id="c1">Must have <input type="checkbox" name="opt1" value="must_not_have" id="c2">Must not have </form> <e:ExclusiveCheckbox id1="c1" id2="c2"/> and you will get some like this :
Tags are: ExclusiveCheckbox implements exclusive checkbox effect. Attributes are: 1) id1 Describes a DHTML id for the first checkbox.
for downloading: Library: exchecktag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|