Apple WebObjects 3.5 User Manual Page 34

  • Download
  • Add to my manuals
  • Print
  • Page
    / 120
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 33
Chapter 1 Creating a Simple WebObjects Application
34
10. Save your component. It should now look like this:
In summary, when the user clicks the Submit button, a new request-response
cycle begins. WebObjects stores the data entered in the dynamic form elements
in the variables they are bound to (
guestName contains the value in the Name field,
email contains the value in the E-mail field, and comments contains the value in the
Comments field). It then triggers the action method bound to the
action attribute
of the WOSubmitButton. The action method returns a page (which, in this
example, is the same page). When the page is redrawn, the dynamic strings at
the bottom show the values entered by the user.
Now you are ready to test your application.
Choose
View Source File
from this menu.
Page view 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 119 120

Comments to this Manuals

No comments