Search Mac Reference Library
WebObjects 3.5 Developer Documentation
Table of Contents
Previous
Next
Table of Contents
Previous Section
Adding the MovieDetails Page
The MovieDetails page shows you the detailed information about a movie you select in the Main page. For this to work, the Main page has to tell the MovieDetails page which movie the user selected. The MovieDetails page keeps track of the selected movie in its own instance variable. In this section, you'll:
Create a new component whose interface you'll create yourself.
Assign Main's selected movie to a variable in the MovieDetails page.
Create a way to navigate from Main to MovieDetails and back.
In the sections following this one, you'll extend the MovieDetails page to display movie roles and the starring actors.
Creating the MovieDetails Component
In Project Builder, choose File
New in Project.
In the New File panel, click the Web Components suitcase.
Type MovieDetails in the Name field.
Click OK.
In the wizard panel, choose None from the available assistance.
Choose Java as the component language.
Click Finish.
Open the new component in WebObjects Builder.
Table of Contents
Next Section
Legacy
Legacy Mac OS X Reference Library
WebObjects 3.5 Developer Documentation