Creating elements with the toolbar – Apple WebObjects 3.5 Tools And Techniques User Manual

Page 37

Advertising
background image

Chapter 2

Editing With WebObjects Builder

37

: This color well allows you to set the color of the currently selected text.

To change the color, click on the border of the color well and select a color from
the Colors panel. See “Setting Colors” for more information.

: This button changes the selected text to a hyperlink.

: This pop-up list allows you to center or justify text.

Note:

Version 3.5 of WebObjects Builder does not support Undo. It is

recommended that you save components frequently as you are working. If you
make a mistake and want to undo it, you can revert to the last saved version of
the component.

Creating Elements With the Toolbar

To create HTML elements, you use the buttons on the bottom row of the
toolbar (or at the right of the toolbar if your window is large). There are four

groups of buttons, only one of which is displayed at a time. The pop-up list

lets you switch the group of buttons that are displayed to its right. The groups
are:

Structures .

Use these buttons to create paragraphs, lists, images, and other

static HTML elements. See “Structure Elements” for more information.

Tables .

Use these buttons to create and manipulate HTML table

elements. See “Working With Tables” for more information.

Dynamic form elements

.

Use these buttons to create form elements in which

users enter information. WebObjects gives your application access to the
data entered by users by allowing you to associate, or bind, these elements
to variables in your application. See “Creating Form-Based Dynamic
Elements” for more information.

Other WebObjects

.

Use these buttons to create other dynamic elements,

which you can bind to variables and methods in your program to control how
they are displayed. Some of these (such as hyperlinks) have direct HTML
equivalents. Others are abstract dynamic elements, such as repetitions and
conditionals, which determine how many times an element is displayed or
whether it is displayed at all. See “Creating Other WebObjects” for detailed
information.

The general procedure for creating an HTML element is:

Advertising