Creating a Portlet
You must create a portlet in an existing portlet application project. A portlet is created with a single default view page. You can add more pages, or
views, to the portlet. For more information, see
Adding a View to a Portlet.
To create a portlet
1. In the UI Development perspective, in the Navigation view of an opened portlet application project, select the portlet application, and right-click New > Portlet.
2. In the New Portlet wizard, select the Portlet Type from the list. To develop your own portlet, select Generic. For more information, see
About Portlet Types. 3. Click Next.
4. On the Create Portlet page, type a name for the portlet in the Portlet Name field.
5. Skip the Expiration Cache field. Composite Application Framework does not use this value.
6. In Supported Locales, click Add to include other language codes, or skip if the default en is the only language this portlet supports.
7. In Portlet Modes, select the modes the portlet is to support (view is preselected and cannot be changed). For more information, see
About Portlet Modes. 8. (Optional) In Portlet Info, in Short Title, type an alternate title for the portlet.
9. (Optional) In Keywords, type keywords, separated by commas, to enable users to search for the portlet.
10. Click Next to specify any custom settings you want to apply to the portlet, or click Finish to create the portlet with the remaining default settings.
You view and work with the new portlet in the Solutions view, the Navigator view, or the Package Explorer view, depending on the project type.
Related Topics