Creating portlets
You can create a portlet and add it to an existing portlet project.
To create a portlet:
- Select
File | New | Other.
- In the New dialog box, select
Portal | Portlet..
The New Portlet wizard opens.
- Select the target portlet project from the
Project drop down box. Because the portlet is created within the context of a specific project, any portlet that you create will inherit the API type that is associated with the project
- Specify a portlet name; select the
Empty Portlet type.
- If you want to accept the default settings for the portlet project, click Finish or to continue with the following steps click Next.
- In the Portlet Settings page, define the following items:
- type
- mode
- package prefix
- class prefix
- super class
- locale
- adding listeners
- preference handling
- business process handling
- credential vault handling
- Click Finish.
Related concepts
Creating Struts portlets and projects
JavaServer Faces portlet applications
Creating portlets and portlet projects
Related tasks
Testing and debugging portlets
Inserting images in portlet JSP files
Creating portlet projects (IBM portlet API)
Enabling AJAX proxy support for a portlet project
Related reference
Differences between Struts 1.1 and SPF tag library classes