June 2002
Intermediate to advanced
400 pages
7h 48m
English
In this next section we're going to build a simple Feedback form as a stateless mini-application. Mostly as an exercise in using direct actions, but we'll also learn about e-mail composition and delivery using WebObjects.
Create a new WebObjects Application project Feedback.
Follow the instructions for setting up the basic application:
1. | Make the application handle direct-action requests by default. |
2. | On the Main page, add a form and static fields for from, subject, and a WOText element for the contents. You might want to layout the form in a table. See Figure 4.1
Figure 4.1. Laying out the feedback form component. |