Creating a New Product Theme Template
You must create a new Web template to customize the display of group names. You do this by copying an existing product theme template. Then you insert a UI property variable into the copy. Finally, you assign the new Web template as the product theme for the customizable product.
To insert a UI property variable into a product theme Web template, do the following:
Locate the od-type="control" element that governs the display of the group name:
Tab Theme. Locate the first od-case tag. It is located near the start of the file.
Single Page Theme. Locate the first od-iterator tag.
Wizard Theme. Locate the first od-iterator tag.
Beneath the location specified previously, locate the first od-type="control" element. It defines the group data record. One of the attributes of this element is CfgFieldName = "CxGroupName".
Replace CxGroupName with the name of the UI Property variable. The name must be preceded with a period (.). For example: ".NewGroupName".
To create a new product theme template
Navigate to the Administration - Product screen, then the Product Definitions view.
In the Products list, select and lock the desired product.
In the Structure menu, select User Interface.
Click the magnifying icon.
The Pick User Interface Style dialog opens.
In the Pick User Interface Style dialog, locate the required product theme template.
Make a note of this template name, it is required in Step 7.
In Oracle Web Tools, create a new workspace.
Open the Web Templates view, and query for the product theme template name from Step 5.
Copy this template, and rename it.
From the Type menu, assign the required template type to your Web template.
- Click the new Web template name, and make the following modifications:
Locate the od-type="control" element containing the CfgFieldName= "CxGroupName" attribute.
Replace "CxGroupName" with a UI property variable name and save the file.
The variable name must begin with a period (.). For example: ".NewGroupName". Verify that the variable name is enclosed in quotes.
Deliver the workspace.