To access the XUI editor and begin using the widgets, you
must first create an XUI file. The XUI file is a Rich Internet Application
(RIA) framework for building applications in Java and XML. XUI only supports Dojo widget
sets.
Procedure
To create an XUI file, do the following steps:
- In the Enterprise Explorer view in Rational® Application
Developer, right-click
the xui folder, and then click . The New window opens.
- On the Select a wizard page of the
New window, expand the BTT folder, and then
click New XUI File. Click Next. The Create XUI File page is displayed.
- In the File name field, specify
a name for the XUI file.
Note: - The file name you specify in the File name field
cannot be duplicated.
- You must use a .xui file extension for the
XUI file.
- Optional: If you want to create an XUI file
using an existing XUI template, select the Create a xui
file using templates check box. Click Next,
and then select the template you require.
- Click Finish.
Results
The XUI file is created and is stored in the xui folder
of your XUI web project.
What to do next
After you have created an XUI file, you can create and design
a GUI that contains widgets. For more information on how to add and
edit widgets to an XUI file, refer to the
Creating a user interface section.
For detailed information on the properties of the widgets and containers,
refer to the
XUI widgets and containers section.