Creating a Portlet Application Project
Before you can create a Composite Application Framework portlet, you must first create a portlet application project.
For more information about creating a portlet, see
Creating a Portlet.
To create a portlet application
1. In the UI Development perspective, click File > New > Portlet Application Project.
2. In the New Portlet Application Project wizard, in Project Name, type a name for the portlet application project.
3. In Target Runtime list, leave My webMethods Server as the default.
4. In Dynamic web module version, accept the default value.
5. In Configuration, use the default CAF Portlet Application.
6. (Optional) In Working sets, click Add Project to working set to use a subset of resources, and then click Select to select the working set resource for the project.
7. In Initial Project Contents, select one of the following in the Project Templates list:
Empty Project (default). The JSF project is created with a minimum of folders and resources. You will create your project structure and view files and other resources later with the New Portlet and New View wizards.
OpenUI Shell. This always creates a JSF project with Facelets support. The project is created without any portlets, but it does contain a page.xhtml page. For more information about creating an
webMethods OpenUI Shell page template, see
Creating an
OpenUI
Shell Page Project.
Search Application. This creates a JSF project that contains two default portlets: a Search Bar portlet that enables the user to enter search criteria and save searches, and a Search Results portlet that displays the items returned by the search. Use the
Display Style list to specify if you want table results, tree results, or a display that can be toggled from table to tree.
8. Click Next to specify any custom settings you want to apply to the project, or click Finish to create the project with the remaining default settings.