Apple WebObjects 3.5 Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 120
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 119 120

Commentaires sur ces manuels

Pas de commentaire