Previewing an XUI page

Before you begin

Some common options for previewing XUI page is configurable. If you have configured these global settings, then you could preview the page without more settings. If not, please follow the following steps.

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

  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
    Note: The language of Preview Settings could be configured as global settings so that it is applied on all the situations.

Results

The XUI page is displayed in the web browser that has been selected to be used by default.
The XUI page displayed in the internal web browser.