Editing portlet properties
Open the Portlet Deployment Descriptor:
- Expand the
Portlet Application node in the tree view of the portlet deployment descriptor editor, and select the portlet that you want to edit.
- Edit the properties of the portlet, as necessary:
Table 1. Portlet properties Property Name Description Display name Administrative name of the portlet application ID Identifier of portlet Servlet Servlet name for this portlet Major version Major version number of the portlet Minor version Minor version number of the portlet Cache Cache expiration period and shared flag Allows Portlet window states allowed Markups Markups and portlet modes supported (View/Configure/Edit/Help) Configuration Parameters Portlet configuration parameters, which are updated in Web.xml file
- To change the markups that are supported, click
Add or
Remove in the
Markups group. To change portlet modes that are supported in each markup, click the appropriate cell in the
Markups table and make the change.
- Optional: You can replace one servlet with another by using the Browse button in the Details section. Only servlets that are not in use are listed because portlets cannot share servlets. The portlet deployment descriptor editor cannot edit most servlet parameters. These parameters do not need to be edited in the process of developing portlets because they are primarily there for reference. Use the Web deployment descriptor editor if edits to these parameters are necessary.
- To specify the portlet configuration parameters in the Web.xml file, use the
Add or
Remove button in the
Configuration Parameters group.
Related concepts
Working with portlet deployment descriptors
Related tasks
Adding new portlets to applications that have servlets
Creating concrete portlet applications
Editing concrete portlet applications
Related reference