Editing portlet properties

To edit portlet properties, open the Portlet Deployment Descriptor, and...

  1. Expand the Portlet Application node in the tree view of the portlet deployment descriptor editor, and select the portlet that you want to edit.

    Editing Portlet in the Portlet Deployment Descriptor editor

  2. Edit the properties of the portlet, as necessary:

    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)
    Config Parameters Portlet configuration parameters, which are updated in web.xml file

  3. 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.

    Markup selection

  4. Optionally, 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 servlets cannot be shared among portlets. Most of the servlet parameters cannot be edited using the portlet deployment descriptor editor. These parameters do not need to be edited in the process of developing portlets. They are displayed here only for reference. If they need to be edited, use the Web deployment descriptor editor.

  5. 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
Editing portlet applications
Creating concrete portlet applications
Editing concrete portlet applications
Creating concrete portlets
Editing concrete portlets
Removing portlets

Related reference
References