Documentation Archive Developer
Search
Table of Contents Previous Section

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. Choose from the Elements pop-up list and click .

  3. Double-click the text "Hyperlink" and type Return to Sign-in Page.

  4. Inspect the hyperlink.

  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: