Creating and using palette items – Apple WebObjects 3.5 Tools And Techniques User Manual
Page 50
Chapter 2
Editing With WebObjects Builder
50
The icons at the top of the palette window show the available palettes. To select
a palette, click its icon. Two pre-configured palettes are provided: Java client-
side components and components from the WOExtensions framework.
You can create your own palettes to store frequently-used items, such as custom
forms, tables, or images, and you can load palettes created by someone else.
To create a new palette, choose Palettes
m
New Palette. A panel appears, asking
you to specify a location to save the palette. (A palette is represented on disk as
a folder with the extension
.wbpalette
.) The palette appears in the palette window
with the default palette icon
. To change the palette's icon, see “Changing a
Palette Icon”.
To add an existing palette to the palette window:
1. Choose Palettes
m
Open Palette.
2. Navigate to the palette’s location and click Open.
To remove a palette from the palette window:
1. Select the palette in the palette window.
2. Choose Palettes
m
Close Palette.
Creating and Using Palette Items
To add an item from a component to a palette:
1. Make the palette editable.
Click to display this
palette.
Drag an item onto the
window to insert into
the component.