Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Getting Started With WebObjects


   

Adding a Dynamic Hyperlink

Now you'll create a hyperlink that returns the user to the Main page.

  1. Place the cursor below the submit button (outside the rectangle of its containing form).

  2. Click .

  3. Type Return to Sign-in Page, replacing the selected text.

  4. Inspect the hyperlink.

  5. Select the pageName attribute, then double-click in the Binding column and type "Main" (including the quotes).

    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. Since you didn't modify any Java or Objective-C code, you don't have to rebuild and relaunch your application.

    The GuestList page should now look like this:


© 1999 Apple Computer, Inc. – (Last Updated 24 Aug 99)