Previewing an XUI page

About this task

Previewing an XUI page enables you to preview the layout of the page in a web browser. By using the preview function that is provided in the XUI editor, you can also check the ECA rules and input validations.
Note:
  • The preview function enables you to preview only the ECA rules and input validations that do not require server access.
  • If the XUI page contains errors, the preview page might also contain errors.

Procedure

To preview an XUI page in a web browser, do the following steps:

  1. In the Project Explorer view, right-click the XUI file that you want to preview, and then click XUI Editor > Page Preview.
    Note: If you are using the BTT perspective in Rational® Application Developer, right-click the XUI file in the BTT Project Explorer view, and then click Page Preview.
    The Preview Settings window is displayed.
  2. In the Language list of the Preview Settings window, select the language that you want to use to preview the XUI page. Click OK.
    The Preview Settings window
    The XUI page is displayed in the web browser.
    The XUI page displayed in the internal web browser.
    Note: The XUI page is displayed in the web browser that has been selected to be used by default when web pages are opened. To change the web browser that is used to preview an XUI page, click Windows > Web Browser, and then select a web browser.