Creating an OpenCAF Shell Page Project
Use the following procedure to create an OpenCAF Shell page project. The OpenCAF Shell page project contains an xhtml page template that can be further modified. The project is deployed to My webMethods Server.
For more information about how to deploy a project to
My webMethods Server, see
Publishing an Application to My webMethods Server
.
To create an OpenCAF Shell page project
1. In the UI Development perspective, go to File > New > Portlet Application Project.
2. In the Project Name field, type a name for the project.
3. In the Target Runtime field, select My webMethods Server.
4. In the Dynamic web module version field, accept the default value.
5. In the Configuration field, accept the default value CAF Portlet Application.
6. In the Project Template field, select one of the following options:
OpenCAF Shell - uses the pre-defined OpenCAF Shell templates to create the project
Custom project template - uses a custom project template defined and enabled on the Preferences > Software AG > UI Development > Templates page to create the project.
7. In the Initial Content field, select the type of page you want to create:
<custom> Note: | Selecting the <custom> option automatically opens the Page Options wizard where you can specify options for the initial content of the page. |
Custom Application Page With Default Framing Custom Application Page With Empty Framing Login Page Maintenance Page 8. Do one of the following:
To create the selected page with default settings, click
Finish.
To further modify the selected page, click
Modify.
Designer generates an OpenCAF Shell page project that includes the following files in the WebContent folder:
fileName.xhtml - A JSF Facelets template that is responsible for rendering the shell.
WEB-INF/shells/
fileName.xml - An xmlImport file that contains the instructions for registering the OpenCAF Shell page template with
My webMethods Server during deployment.
WEB-INF/xmlImport.xml - An xmlImport file that loads the WEB-INF/shells/
fileName.xml file during deployment.