Running movies, Refining your model, Opening your model – Apple WebObjects 3.5 User Manual
Page 97: Running movies 97, Refining your model 97, Opening your model 97

Refining Your Model
97
telling the application to open the MovieSearch page when the
hyperlink is clicked.
Running Movies
Be sure that all your project’s files are saved (including the components in
WebObjects Builder), and build and run your application. In the Main page,
select a movie and click the Movie Details link. The MovieDetails page
should display all the movie’s information.
Refining Your Model
The model created for you by the wizard is just a starting point. For most
applications, you need to do some additional work to your model to make it
useful in your application. To refine your model so that it can be used in the
Movies application, you’ll ultimately need to do all of the following:
•
Remove primary and foreign keys as class properties.
•
Add relationships to your model if the wizard didn’t have enough
information to add them for you.
•
Configure your model’s relationships in the Advanced Relationship
Inspector.
•
Generate source files for the Talent class.
These steps are described in more detail throughout the rest of this tutorial.
Opening Your Model
1. In Project Builder, click the Resources category.
2. Select
Movies.eomodeld
.
3. Double-click the model icon.
Double-click to
open the model.