This tag uses the category
attributes in the repository XML definition file to sort the property descriptors for each property defined in the given repository. If you have access to the RepositoryItem
itself, use the repositoryItem
and itemDescriptor
attributes. Otherwise, you need to specify the repositoryPath
and itemDescriptorName
attributes.
After the tag is executed, the property descriptors are stored in an array result object named by the var
attribute. The result object has properties that other tags can access.
Attributes
The following attributes are defined for the pws:categorize
tag:
Attribute | Description | Required? |
---|---|---|
| Returns the instance of the tag. Call | no |
| Names the Array result object to contain the sorted property descriptors. | no |
| The | no |
| The | no |
| The Nucleus path to the | no |
| The name of the | no |
| Indicates whether properties that are designated as hidden properties are included in ( | no |
| Indicates whether properties that are designated as expert properties are included in ( | no |
| A comma-separated list of properties to which the result object should be restricted. Can also be used to override the | no |
| A comma-separated list of properties that should be excluded from the result object. Can also be used to override the | no |
| A comma-separated list of categories. Only properties that have these | no |
| A comma-separated list of categories. Properties that have these | no |
| If only one category exists, indicates that the category descriptor should not be returned (true). | no |
For an example of this tag in use, see oneColumnEdit.jsp
, located in:
<ATG2007.3dir>
\PubPortlet\PubPortlets.ear\portlets.war\html\views\item\gsa