beautypg.com

Creating the application’s output, Creating the application’s output 32 – Apple WebObjects 3.5 User Manual

Page 32

background image

Chapter 1

Creating a Simple WebObjects Application

32

Creating the Application’s Output

So far, you have a way for the guest to enter information and a way for the
application to store that information. Now, the application needs to do
something with the information.

For now, you’ll have the application simply display the same information the
user entered, in a slightly different format. This allows you to verify that you
have correctly received the data. To do this, you’ll add dynamic string elements
(WOStrings) to the main page and bind them. In the next chapter, you’ll use
more complex forms of output.

1. In WebObjects Builder, place the cursor at the end of the document,

making sure that it is outside the gray rectangle that represents the form,
and press Enter.

Variable definitions.

submit

action method.