Documentation Archive Developer
Search
PATH Documentation > WebObjects

Table of Contents

WOSortOrder



Component Description

A WOSortOrder component enables the user to sort the objects displayed by a WODisplayGroup. It displays an icon representing the current sorting order ([image: Art/WOExtWOSOUnordered.gif] unsorted, [image: Art/WOExtWOSOAscending.gif] ascending, or [image: Art/WOExtWOSODescending.gif] descending.) When the user clicks the icon, the component modifies the display group's sort orderings and redisplays the display group's objects.


Synopsis

WOSortOrder { displayGroup=aDisplayGroup; key=aString; [displayKey=aString;] };

Bindings

displayGroup
The display group that receives the new sort order specification.
key
The key corresponding to the attribute to sort by.
displayKey
A user presentable string corresponding to key. The user's browser displays a tooltip above the sort order icon: "Push to toggle sorting order according to displayKey." Defaults to key.

Table of Contents