beautypg.com

Starting the webobjects application wizard, Starting the webobjects application wizard 65, Designing the main page – Apple WebObjects 3.5 User Manual

Page 65

background image

Designing the Main Page

65

Designing the Main Page

Every WebObjects application has at least one component—usually named
Main—that represents the first page the application displays. In Movies,
the Main component represents the MovieSearch page.

To design the Main component, you’ll use the WebObjects Application
Wizard. The wizard performs all the setup that’s necessary to fetch database
records and display them in a web page. Specifying different wizard options
yields different pages: The MovieSearch page is an example of one of the
many different layouts you can generate with the wizard.

Starting the WebObjects Application Wizard

1. In Project Builder, choose Project

m

New.

2. In the New Project panel, select WebObjects Application from the

Project Type pop-up list.

3. Click Browse.

4. In the Open panel, navigate to a directory under

DocumentRoot

/WebObjects

, where you want to create your new project.

Movie

MovieRole

MovieRole

MutableVector

movieRoles

movie

movie