Completing the Application
At last we are in a position to put the finishing touches to the online forum.
First, we'll use a template for each of the forum pages. Then, we'll add some graphics and icons to add a little frill to the user interface.
Defining a Page Template
A page template is unusual because it is treated like a normal reusable component. However, unlike all other reusable components, it is a full document.
Add a new component to the project ForumTemplate.
Make it a stateless component. However, remember to leave it as a full document.
Select the BODY element and make it dynamic.
Copy in a background graphic aqua_bg.gif from the file download associated with this chapter from the companion Web site (www.samspublishing.com) and ...
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.