Creating an OpenUI Shell Page Project
Use the following procedure to create an OpenUI Shell page project. The OpenUI Shell page project contains an xhtml page template that can be further modified. You deploy the project 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
OpenUI 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:
OpenUI Shell - uses the pre-defined
OpenUI 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 that 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 OpenUI 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_xhtml.xml - An xmlImport file that contains instructions for registering the
OpenUI Shell page template with
My webMethods Server during deployment of the
OpenUI project. The file contains instructions for creating or updating
My webMethods Server resources, and for creating a shell rule.
WEB-INF/xmlImport.xml - An xmlImport file that loads the WEB-INF/shells/
fileName_xhtml.xml file during deployment of the
OpenUI project.
Related Topics