Apple WebObjects 3.5 Tools And Techniques User Manual

Page 87

Advertising
background image

Reusable Components

87

The Inspector shows the child component’s attributes. As with any other
dynamic element, you can bind the child component’s attributes to keys
and actions in the parent component’s code.

Note:

When you create a component that is specifically designed to be used

within other pages, specify “Partial document” in the Page Attributes
Inspector popup list (see “Setting Page Attributes”). This way WebObjects
Builder does not wrap

<HTML>

,

<HEAD>

, and

<BODY>

tags around your

component.

For more information, see “Reusable Components” in the WebObjects
Developer’s Guide
.

Shared component appears
inside Custom WebObject
icons.

Parent component
can bind to these
attributes.

Name of shared
component.

Advertising