
Chapter 2 Enhancing Your Application
58
5. Select the pageName attribute, then double-click in the Binding column and
type (including the quotes)
"Main".
Note: You must specifically type the quotation marks in “Main”, because you
are specifying a string representing the name of the page to be returned. If
you left off the quotes, you would be specifying a variable or method called
Main.
6. Save the GuestList component.
7. Test your application.
Note: In this case, you don’t have to rebuild and relaunch your application in
order to test it. Building is only required when you have made changes to
Java or Objective-C code. If you modify a component or WebScript code
only, the changes take effect even if the application is already running.
The GuestList page should now look like this:
Comentarios a estos manuales