beautypg.com

Apple WebObjects 3.5 User Manual

Page 55

background image

Using a Repetition

55

11. In the object browser, select

application

in the first column.

12. In the second column, click

allGuests

and drag the cursor to anywhere

inside the row (but not inside one of the WOStrings).

The Inspector window opens showing the repetition’s bindings. The

list

attribute is selected by default.

13. Click Connect Variable to bind

application.allGuests

to the

list

attribute.

14. Bind

currentGuest

to the repetition’s

item

attribute.

To do this, you can select the row for

item

, then double-click in the

Binding column and type

currentGuest

.

Element path shows that WORepetition is
contained by table and contains a table row.

Select table row , then click here
to create repetition around row.

Drag variable to table row
to bind to repetition.

Click here to bind

allGuests

to the

repetition’s

list

attribute.

Blue border and background
means row is in a repetition.