beautypg.com

Examining the bindings, Examining the bindings 81 – Apple WebObjects 3.5 User Manual

Page 81

background image

Examining Your Project

81

Also note the comment explaining how

movieDisplayGroup

is initialized.

The

Main.java

class doesn’t have any code to create and initialize the

display group. Instead, it’s instantiated from an archive file,

Main.woo

,

that’s stored in the

Main.wo

component. You shouldn’t edit

woo

files by

hand; they’re maintained by WebObjects Builder. The

woo

file

archiving mechanism is described in more detail later in “Specifying a
Sort Order” (page 86).

Examining the Bindings

Now examine the bindings of your Main component in WebObjects
Builder.

Remember that you can use WebObjects Builder’s Inspector to see the
bindings for an element’s attributes. Simply select the element to inspect,

and click the

button to open the Inspector.

Everything within this gray
box is in a form.

The gray “shadow” on
this text field indicates that
it’s selected.

This is a repetition.

This gray box identifies
another form.

This text field is in a
table cell.

This is a WOImageButton.

Everything within this gray
box is in the repetition.

This is a table with five rows
and two columns.