Generic webobjects – Apple WebObjects 3.5 Tools And Techniques User Manual

Page 82

Advertising
background image

Chapter 3

Working With Dynamic Elements

82

the WOExtensions framework, which is included in your project by
default.

If WebObjects Builder recognizes the element class, it automatically
displays its attributes. Otherwise, you can add them by clicking Add
Attribute.

The WOExtensions palette (see “Palettes”) contains several pre-defined
custom WebObjects elements you can use in a component.

Generic WebObjects

You can use the generic WebObject element to create a dynamic version of any
HTML element.

To create a dynamic version of a standard HTML element):

1. Create the element (say, a heading).

2. In the Inspector, click Make Dynamic.

If the element has no specific dynamic counterpart, it becomes a generic
WebObject element.

To create a generic WebObject corresponding to any HTML element (even
ones not supported by WebObjects Builder):

Click here to convert
the heading to a
dynamic element.

Click here to convert
back to a heading.

Advertising