Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : Getting Started with OpenCAF Shell Page Development : Creating a Custom OpenCAF Page Template
Creating a Custom OpenCAF Page Template
Use the following procedure to create a custom page template.
To create a custom page template
1. In Designer, go to Window > Preferences.
2. Expand the Software AG node and then expand the UI Development node.
3. Click Templates.
4. On the Templates page, click New Page.
5. Specify values for the following fields:
Field
Description
Name
Required. The name of the page template.
Context
Required. The purpose of the page template. Values are:
*Shell
*Login
*Maintenance
Description
Optional. A description of the page template.
Resources
Optional. The resources that the page template requires.
*Click Link to connect to the already existing static resources in the Resources folder.
*Click Import to import a folder from your local system into the Resources folder.
Select one or more resources and click OK.
Pattern
Required. The definition of the page template. Enter your custom code to modify the content of the page.
Note:  
Although you can save the template without specifying anything in the field, leaving the field empty creates an empty file when you use the template.
6. Click OK.
After you create the custom page template, when you create a new OpenCAF Shell page project, you can select the page template in the Initial Content field of the Page Options wizard.
Note:  
If you do not want the template to show as an Initial Content option in the Page Options wizard, clear the check box next to the template on the Templates page.
For more information about creating an OpenCAF Shell project, see Creating an OpenCAF Shell Page Project.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback