beautypg.com

Apple WebObjects 3.5 User Manual

Page 26

background image

Chapter 1

Creating a Simple WebObjects Application

26

1. Inspect the Name text field (that is, select the text field and open the

Inspector window).

2. Change the setting of the pop-up list at the upper right of the window from

Dynamic Inspector to Static Inspector.

All WebObjects elements have a dynamic inspector, that is, one that allows
you to set bindings (you’ll work with bindings in the next section). In
addition, many WebObjects elements (those with direct counterparts in
static HTML) also have a static inspector. This inspector allows you to set
the standard HTML attributes for that type of element.

In this window, you can set various attributes of the static counterpart of a
WOTextField, which is an HTML

element.

3. In the Size field, type

20

and press Enter to set the width of the text field

to 20 characters.

Note:

Be sure to press Enter after typing the values; otherwise, they won’t

“stick.”

4. Repeat steps 1 through 3 for the E-mail field.

Choose Static Inspector from
this pop-up list.

Enter rows and columns here.