Adding a Portlet to the Application

A portlet application can be composed of multiple portlets in a portlet project. The EGL Portlet Project wizard can be used to create the initial portlet in an application. Use the New EGL Portlet wizard to add portlets to the project.
  1. In the Project Explorer view, select the your EGL portlet project.
  2. Click File > New > Other > EGL > EGL Portlet.
  3. In the Portlet name field, enter the name of the new portlet.
  4. In the Content types and modes table, check the modes you want the portlet to support.
  5. Click Finish.

The new portlet will be created in the target project. The faces-config.xml and portlet.xml files will be updated to support the new portlet. A JSP and corresponding JSF Handler will be created for each supported portlet mode.


Feedback