Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Building Mini-Applications Using Direct Actions

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.

Using E-mail Delivery in 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.
Make sure the form elements are named from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book