Custom JSP taglib. Lets you format HTML output as a multiple columns list. As a source for your data you can use some collection, array or iterator. Also you can describe individual elements with body tag setElement. For example: outputs some array as a grid from 3 columns:
<%@ taglib uri="taglib.tld" prefix="do" %> <do:multicolumns cols="3" source="<%=my_array_with_data%>"/> or you may directly define all the elements with a special body tag:
<do:multicolumns cols="2"> <do:setElement> first </do:setElement> <do:setElement> second </do:setElement> ... </do:multicolumns> Tags are: multicolumns Outputs grid for data. Parameters are: 1) cols how many columns
setElement Describes one element for parent's multicolumns tag. Parameters are: none. for downloading: Library: mcoltag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|