Creating A Basic WebObjects Component

Let's take a break from the Hello application and take a look at the ThinkMovies example application that comes with WebObjects 5. Notice how every page has the same navigation bar component. We are going to create a dynamic navigation bar with rollover buttons that we will plug into the ThinkMovies example.

Prototyping A Toolbar Component

We are going to build the component in isolation. That is, develop it in an application of its own, strictly for the purposes of development and testing. When it is completed it can be incorporated into the ThinkMovies application.

Create a new WebObjects Application project, and call it ToolbarComponentTest.

Add the images from the Web site (see companion Web site at ...

Get WebObjects® Developer's Guide 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.