Oracle iPlanet Web Server 7.0.9 Developer's Guide to Java Web Applications

colIItem Tag

This tag displays the name and label of one collection item. This tag 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 function 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.