Sun Java System Web Server 7.0 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.


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


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

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.