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



Displays the name and label of one collection item. 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 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.