You can create a single UIX XML page with the basic UIX XML page framework included for data providers, page layout, and event handlers. After creating this file, you can add UIX components to build your user interface.
To create a UIX XML page with pageLayout:
- In the Application Navigator, select the project in which you want to create the new UIX XML page.
- Choose File | New to open the New Gallery.
- In the Categories tree, expand Web Tier and select ADF UIX.If Web Tier is not visible in the Categories tree, select All Technologies in the Filter by dropdown list.
- In the Items list, double-click UIX XML Page with pageLayout to open the Create dialog.
- Leave the Directory Name field unchanged to save your work in the directory where JDeveloper expects to find web application files.
- In the File Name field, enter the name of the file you want to generate.The file extension of UIX XML files is
.uix
. - Click OK.
Example:
XML
<?xml version="1.0" encoding="utf-8" ?> <Container ContainerType="Stack" xmlns="http://schemas.microsoft.com/office/2009/05/BusinessApplications/Layout" xmlns:loc="http://schemas.microsoft.com/office/2009/05/BusinessApplications/Localization"> <CustomProperties> </CustomProperties> <Children> <OBPart PartType="List" DataSourceName="PrimaryEntityNameInContext" Text="Related Order Headers" Description="A list of all related Orders" > <CustomProperties > <CustomProperty Name="DataSourceMode" Value="AssociationList" /> <CustomProperty Name="DataMemberName" Value="GetOrdersForCustomer" /> <CustomProperty Name="MaximumVisibleRowCount" Value="12" /> <CustomProperty Name="DefaultActionName" Value="Edit" /> <CustomProperty Name="DefaultActionSource" Value="TargetContext" /> <CustomProperty Name="ConsumerPartName" Value="IPOBP" /> </CustomProperties> <ActionNames> </ActionNames> </OBPart> <OBPart PartType="InfoPath"> <CustomProperties> <CustomProperty Name="Name" Value="IPOBP" /> <CustomProperty Name="FormLocation" Value="OrderHeaderTemplate.xsn" /> <CustomProperty Name="IsReadOnly" Value="True" /> <CustomProperty Name="Height" Value="300" /> </CustomProperties> </OBPart> </Children> </Container>