Portlet Page Editor Tags for Adaptive Layout
Tag sortpropertiesdata


Sets a collection of properties used to specify sort order. Default properties include object name and last modified date in ascending and descending order. Additional order by properties are defined by adding sortpropertyentry tags in the body. NOTE: This tag and the portletdata tag must be displayed before the other portletpageeditor tags so the page can be initialized properly.

Example:
<pt:portletpageeditor.sortpropertiesdata pt:id="sortprops" >
<pt:portletpageeditor.sortpropertyentry pt:propid="200" pt:proptitle="Custom Sort Ascending">
<pt:portletpageeditor.sortpropertyentry pt:propid="-200" pt:proptitle="Custom Sort Descending">
</pt:portletpageeditor.sortpropertiesdata>


Tag Information
Tag Namesortpropertiesdata

Attributes
NameTypeRequiredDefault ValueDescription
idstringtruenullThe name of the variable in memory where the DO data created by this tag is stored. Specify this ID in the data attribute (most commonly the DATAVAR attribute) for any display tag consuming DO data. Multiple data tags can share the same ID, in which case they are added to a list in the order they were processed.
scopestringfalseportlet requestThe scope used to store the data. See the Logic tag library for a list of all available scopes.
usedefpropbooleanfalsetrueDefined whether or not to include the default sort properties in the list. Only set the value to false if additional custom properties havs been specified. True by default.
defpropfirstbooleanfalsetrueDefines whether or not to display the default sort properties before or after custom properties. This attribute is not used if no custom properties has been specified or if default properties are not included. True by default.
defaultsortintfalse-4Specifies which custom properties values (extended object data) to retrieve with each associated portlet. The attribute takes a comma separated list of property object IDs.


Copyright 2005 Plumtree Software, Inc.