Chapter 4. Building the base scenario: Stage 1 75
4.4.5 Steps to build the wizard pages
In our example we insert additional form pages by clicking on the toolbar until we have
the correct number of pages for the form. We will be adding three additional pages and will
configure each of them as shown in the Page Properties (Figure 4-14).
Figure 4-14 Page Properties of Wizard Page 1
Page globals specify settings (such as Next and Save Format) and characteristics (like
bgcolor) for the page within which they appear. Page globals appear within a global item at
the top of each page definition, and apply to the whole page. They can be overridden by
option settings within items.
4.4.6 Setting up the toolbar
A toolbar is a separate and fixed area at the top of the page. It functions much like a toolbar in
a word processing application. Items placed in the toolbar are always visible at the top of the
form, no matter what portion of the page they are viewing. The toolbar is visible no matter
what portion of the page body is visible. However, if the toolbar is larger than half the form
window, it is necessary to scroll to see everything it contains. Since the toolbar on a page will
not be printed, we only used it on the traditional form page.
76 IBM Workplace Forms: Guide to building and integrating a sample Workplace Forms application
Normally, your paging controls and company logos are located on the toolbar. If you do not
have paging controls set up, you will not be able to access all the pages when you test the
form in the Viewer. In our example we created following controls:
򐂰 Page navigation pop-up
򐂰 Save form to filesystem
򐂰 Print form
򐂰 E-mail form
򐂰 Show order ID
򐂰 Page back
򐂰 Page next
To insert a toolbar in your page, select the Toolbar option from the Insert Menu as shown in
Figure 4-15.
i
Figure 4-15 Insert Toolbar menu
Chapter 4. Building the base scenario: Stage 1 77
Figure 4-16 shows the inserted toolbar on the traditional form page. We already added some
basic layout items like a heading, logos, and design bars.
Figure 4-16 Traditional form page with toolbar
Tip: If you want to use the toolbar on several pages of the form, it is best to have the same
toolbar on each page. The easiest way to accomplish this is as follows:
1. Lay out the toolbar on the first page.
2. Select every item on the toolbar.
3. Copy and paste the items onto the toolbars of the subsequent pages.

Get IBM Workplace Forms: Guide to Building and Integrating a Sample Workplace Forms Application now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.