The WOBatchNavigationBar component provides the ability to navigate through a WODisplayGroup in batches. The component has buttons that allow the user to navigate to the next batch and to the previous batch. It also displays the number of batches, which batch the user is currently viewing, and how many objects are in each batch.
WOBatchNavigationBar { displayGroup=aDisplayGroup; sortKeyList=anArray; objectName=aString; [width=aNumber;] [textColor=hexString;] [border=aString;] [bgcolor=hexString;] [pluralName=plurualizedName};
The display group that the WONavigation bar displays in batches.
Array of keys for the attributes by which the displayed objects can be sorted. The user chooses one of these attributes and a sort ordering (ascending or descending), and the navigation bar displays the batches accordingly.
The name of the object displayed by the display group. The navigation bar displays this name.
Width of the navigation bar. This attribute is passed to the HTML TABLE that makes up the navigation bar.
Color of the text within the bar.
Width of the navigation bar’s border. This attribute is passed to the TABLE that makes up the navigation bar.
Background color of the navigation bar. This attribute is passed to the TABLE that makes up the navigation bar.
The preferred pluralized form of objectName. You want to specify a value for this binding if simple pluralization of objectName (just adding an ‘s’) is wrong. For example, for the word “child” you want to set this binding to “children” so the dynamic element’s default pluralization doesn’t display “childs.”
Last updated: 2004-12-02