Sun Java Studio Creator 2 – Online Help
 

Navigation Tasks: Quick Reference

See Also

This topic describes common tasks that you can perform while connecting multiple pages. For more detailed information, click the links in the right column.

To perform this task... Follow these steps
Add components
Create a page
  1. In the Navigation Editor, right-click and choose New Page.
     
  2. In the Select Page Name dialog box, type the name of the new page.
     
Delete a connector
Delete a page
Open page in the Visual Designer
Rename a connector
  1. In the Navigation Editor, double-click the connector to rename.
     
  2. Type in the new name and press Enter.
     
Set dynamic navigation
  1. If necessary, create the source page and the component that triggers the navigation.
     
  2. Create the destination pages.
     
  3. Drag a new connector from the source page to each destination page.
     
  4. Right-click the component that triggers the navigation and choose Decide Case With Code.
     
  5. In the Java Editor, set the return statement of the action method to a connector name.
     
Set static navigation
  1. If necessary, create the source page and the component that triggers the navigation.
     

  2.  
    Create the destination page.
     
  3. Click the source page to display its components.
     
  4. In the source page, click the component that triggers the navigation and drag the connector to the destination page.
     
See Also
About Multiple Pages and Navigation
Working With Multiple Pages
 
 
 
Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Close