Custom JSP taglib for UI development. This taglib lets you implement
custom HTML listboxes with images, links, input elements etc. The following example
provides a listbox with images, checkboxes and links:
<%@ taglib uri="taglib.tld" prefix="cl" %> <cl:customlist width="180px" height="80px"> <cl:element><input type="checkbox"> checkbox</cl:element> <cl:element><a href="http://www.servletsuite.com" target="_blank">Link</a></cl:element> <cl:element style="margin-top:6px"><img src="HomeOn.gif"> first Image element</cl:element> <cl:element><img src="HomeOff.gif"> second element</cl:element> </cl:customlist> and you will get the following picture:
Tags are: customlist Body tag provides a listbox with the user-defined elements. Parameters are: 1) width Describes
a width for your box.
element Body tag descibes an element in your listbox. Parameters are: 1) className Optional parameter describes
CSS class name for this element.
Note: the evaluation version supports up to 5 elements. for downloading: Library: customlisttag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|