Sun Java System Web Server 6.1 SP6 Programmer's Guide to Web Applications

<colIItem>

Function

Displays the name and label of one collection item. Must be used inside the collection tag.

Attributes

property. Specifies a keyword indicating which property the tag should output. Valid inputs include name, display name, and description. Default is name.

Usage

<select name=elementname>
<s1ws:collection>
<option value="<s1ws:collItem property=\"name\" >">
<s1ws:collItem property="display name" >
</s1ws:collection>
</select>

This iterates through the available collections and passes each item to the collection item tag, which in turn displays the name and display name of the item.