The CollElem tag uses the following attributes:
Name- Specifies the name of the form element created. The default is c.
Items (Optional) - A comma-delimited string representing search collections available. The tag retrieves all collections available on the server if the attribute is empty.
Type (Optional) - The type of form element used for displaying collections. Valid options are hidden, select, and checkbox. The default value is hidden if one collection exists, and checkbox if there are multiple collections.
Rows (Optional) - Represents size if the type is select, or the number of rows. The default behavior is to satisfy the Cols attribute first. That is, the collections will be listed in columns as specified by the Cols attribute.
Cols - Represents number of columns and is only required if type is checkbox. If Cols and Rows are not specified, the collections will be listed horizontally.
Defaults - Specifies a comma-delimited string containing 1s or 0s indicating the selection status of the search collections. An item is selected if the setting is 1, and not selected if the setting is 0. If there is a form action exists , these values will be retrieved from the form elements.
cssClass (Optional) - The class name used in every HTML tag created in this tag. This attribute is particularly useful when the type is checkbox, since an HTML table is used for the layout. See the sample code for details.