The object browser – Apple WebObjects 3.5 Tools And Techniques User Manual

Page 58

Advertising
background image

Chapter 3

Working With Dynamic Elements

58

The element appears in the HTML template. A template appears in the
lower pane (the declarations file) showing the bindable attributes of the
element. Elements in brackets are optional. See “Binding Elements” for
more information on bindings.

Note:

You must type in the bindings of all the attributes you want to bind,

and delete the others. Otherwise, you will not be able to switch back to
graphical editing mode or save the file.

The Object Browser

The bottom part of the component window is the object browser, which displays
your application’s variables and methods. This display provides a graphical
method of binding objects in your code to dynamic elements in the component.

Click here to add element
at cursor position.

Element appears in HTML
source view.

Template for element’s
bindings appears in
declarations file.

Actions appear below the line.

Keys (variables and methods)
appear above the line.

Select key to display its keys and actions in
next column (indicated by “>”.

“>>” indicates an array. Select it to show its

count

method in next column.

Advertising