Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Direct to Web

Table of Contents

D2WInspect



Component Description

This Direct to Web reusable component displays an inspect component. See the "Direct to Web" chapter of WebObjects Tools and Techniques for information about the behavior and appearance of this component.


Synopsis

D2WInspect { [action=anAction;] [displayKeys=keyArray;] entityName=nameString; object=anEnterpriseObject; [pageConfiguration=configurationName;] };

Bindings

action
The action method to invoke when the user clicks Return.
displayKeys
The properties of the entity to inspect (NSArray). You can also represent the array as a string: "(prop1, prop2, ...)".
entityName
The name of the entity for this record (String).
object
The object inspected by this component.
pageConfiguration
The named configuration containing the Web Assistant settings for this component (String). If this binding is not specified, the "*all*" configuration for the inspect 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

myInspect : D2WInspect {
    entityName = "Movie";
    object = displayGroup.selectedObject;
    action = inspectAction;
}


Table of Contents