Creating portlets

You can create a portlet, and add it to an existing portlet project.

Note: To create a Faces portlet, refer to Creating Faces portlets. To create a Struts portlet, refer to Creating Struts portlets.

To create a portlet,...

  1. In the Web perspective, select File > New > Portlet. The New Portlet wizard opens.

  2. Select the target portlet project from the Project list box. Because the portlet is created within the context of a specific project, any portlet that you create will inherit the API-type and code model capabilities associated with the project.

  3. Depending on your selection, different available types of portlets will be listed. Select the portlet type you want to create. Because the portlet is created within the context of a specific project, any portlet that you create will be inherit the API-type and code model capabilities associated with the project by default.

  4. If you want to configure additional options, click Next. Click Finish to immediately create the portlet.

 

Related concepts

Creating portlets and portlet projects

 

Related tasks

Creating Faces portlets
Creating Struts portlets
Creating portlet projects (IBM API)
Creating portlet projects (JSR 168)