This tag retrieves the name of the search collections on the server, iterates through them , and passes each of them to the collectionitem tag. Use this tag with collection item tags write your own HTML search collections.
Optional - A comma-delimited string representing the search collections available. The tag retrieves all collections available on the server if the attribute is empty.
<table border=0> <s1ws:collection> <tr><td><input type=checkbox name="c" value="<s1ws:collItem property="name" />"> <s1ws:collItem property="display name" / ></td></tr> </s1ws:collection> </table>
The above code will display all collections with checkboxes.
<select name=elementname> <s1ws:collection> <option value="<s1ws:collItem property="name" />"> <s1ws:colleItem 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.