Apple WebObjects 3.5 Manuel d'utilisateur Page 56

  • 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 55
Chapter 2 Enhancing Your Application
56
By using the name currentGuest for the item attribute, you are taking advantage
of the fact that the strings in your table are already bound to the fields of
currentGuest.
You now have finished implementing the repetition. When the table is
generated, it will have one row for each item in the
allGuests array.
15. Save the GuestList component.
16. Delete the table from Main, since you no longer need it.
17. Build and launch your application.
18. Test your application by entering data for multiple guests and verifying that
each guest appears in the table.
Adding the Finishing Touches
There are a few additional things you’ll do to make your application a bit more
user friendly:
Add a button that, when clicked, clears the guest list.
Add a hyperlink to the GuestList page that allows users to return to the
Main page.
Clearing the Guest List
While developing your application, you may find it useful to be able to remove
all guests from the list. (Typically, you wouldn’t allow users to remove all guests
from the list.)
1. In WebObjects Builder, make the GuestList component window active.
2. Choose Add Action from the pull-down menu at the bottom of the window.
In the panel, enter
clearGuestList as the name of the action and set the
page returned to
nil.
3. Choose View Source File from the pull-down menu.
Project Builder displays the code for
GuestList.wos. You’ll notice that there is a
skeleton of the
clearGuestList action method, using WebScript syntax, as well
as the declaration for
currentGuest that you created previously.
Vue de la page 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 119 120

Commentaires sur ces manuels

Pas de commentaire

Melissa 635-073 manuali

Manuali dei proprietari e guide per l'utente per Asciugacapelli Melissa 635-073.
We fornisce 1 manuali pdf Melissa 635-073 per scaricare gratuitamente in base al tipo di documento: Manuale Utente


Melissa 635-073 Manuale Utente (1 pagine)


Marchio: Melissa | Categoria: Hairdryers | Dimensione: 0.89 MB |

 




Più prodotti e manuali per Asciugacapelli Melissa

Modelli Tipo di Documento
235-002 Manuale Utente      Melissa 235-002 User Manual, 17 pagine
635-068 Manuale Utente   Melissa 635-068 User Manual, 1 pagine
635-075 Manuale Utente   Melissa 635-075 User Manual, 1 pagine
635-103 Manuale Utente   Melissa 635-103 User Manual, 1 pagine
235-014 Manuale Utente   Melissa 235-014 User Manual, 1 pagine
635-102 Manuale Utente      Melissa 635-102 User Manual, 18 pagine
235-019 Manuale Utente        Melissa 235-019 User Manual, 52 pagine
635-066 Manuale Utente      Melissa 635-066 User Manual, 18 pagine
635-101 Manuale Utente   Melissa 635-101 User Manual, 1 pagine
635-096 Manuale Utente   Melissa 635-096 User Manual, 1 pagine
635-067 Manuale Utente      Melissa 635-067 User Manual [en] [ru] [de] [es] [fr] [it] [cs] [pl] , 18 pagine
Exido 235-028 Manuale Utente   Melissa Exido 235-028 User Manual, 1 pagine
Aircurler 635-099 Manuale Utente   Melissa Aircurler 635-099 User Manual, 1 pagine
235-009 Manuale Utente     Melissa 235-009 User Manual, 24 pagine
235-016 Manuale Utente   Melissa 235-016 User Manual, 1 pagine
635-092 Manuale Utente     Melissa 635-092 User Manual, 25 pagine
235-004 Manuale Utente      Melissa 235-004 User Manual, 17 pagine
235-015 Manuale Utente      Melissa 235-015 User Manual, 17 pagine
635-095 Manuale Utente   Melissa 635-095 User Manual, 1 pagine