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.
- In the Project Explorer view, select the your EGL portlet project.
- Click .
- In the Portlet name field, enter the name
of the new portlet.
- In the Content types and modes table,
check the modes you want the portlet to support.
- 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.