PATH |
D2WList
Component Description
This Direct to Web reusable component displays a list component. See the "Direct to Web" chapter of WebObjects Tools and Techniques for information about the behavior and appearance of this component.
Synopsis
D2WList { [action=anAction;] dataSource=aDataSource; | list=anArray; [displayKeys=keyArray;] entityName=nameString; [pageConfiguration=aConfiguration;] };Bindings
- action
- The action method to invoke when the user clicks Return.
- dataSource
- An EODataSource containing the objects to display as a list.
- list
- An array containing the objects to display as a list.
- displayKeys
- The properties of the entity to edit (NSArray). You can also represent the array as a string: "(prop1, prop2, ...)".
- entityName
- The name of the entity for this record (String).
- pageConfiguration
- The named configuration containing the Web Assistant settings for this component (String). If this binding is not specified, the "*all*" configuration for the edit task and the entityName entity is used. See the "Direct to Web" chapter of WebObjects Tools and Techniques for more information about named configurations.
Example
myList : D2WList { entityName = "Movie"; dataSource = displayGroup.dataSource; pageConfiguration = "myListMovieConfig"; }
© 2001 Apple Computer, Inc.