Sun Java System Web Server 7.0 Update 3 Developer's Guide to Java Web Applications

CollElem Tag

This tag creates a hidden inputbox or select box, or multiple checkboxes, depending on the attribute input. If only one collection exists, the tag will create a hidden inputbox by default.

Attributes

The CollElem tag uses the following attributes:

Usage

<s1ws:collElem type="checkbox" cols="2" values="1,0,1,0" cssClass="body" />

This example creates checkboxes in 2 columns with a default name c with the first and third items selected. Fonts and any other HTML styles are defined in the css class body, which includes tr.body, td.body, and input.body.