Portlet Application Deployment Descriptor - Portlets - Parameters

Use to create initialization parameters for the current portlet and to specify which of the public render parameters defined for the application are used by the portlet.

Element Description

Name

Select the portlet with which you want to work.

Add

Click to create a new portlet in the application. This launches the Create JSR 286 Java Portlet wizard.

Remove

Click to delete the currently selected portlet.

Name

Edit the name of the portlet.

Class

Edit the name of the class for the portlet or click the Browse Classes icon to select an existing portlet class. The class must have a valid Java name.

Parameters Tab

Use this tab to create and manage initialization and public render parameters for the selected portlet.

Initialization Parameters

Use this panel to create and manage initialization parameters for the selected portlet.

Element Description

Add

Click to create an initialization parameter for the portlet.
  • Name

    Enter a name for the initialization parameter. For example, rowsDisplayed. The name must be unique in the portlet. Use only letters, numbers, and the underscore character.

  • Value

    Enter the default value for the initialization parameter. For example, for rowsDisplayed you might enter 10, meaning the portlet will initially display 10 rows.

  • Description

    Enter a description for the initialization parameter. For example, Number of portlet rows to display upon initialization. The description is entered into the portlet.xml file where it assists in understanding how to use the parameter.

Remove

Click to delete the currently selected initialization parameter from the portlet.

Public Render Parameters

Use this panel to identify public render parameters supported by the selected portlet.

Element Description

Available

Displays the public render parameters defined for the application, excluding those that have already been identified as supported by the portlet. To add a parameter to the portlet, select the parameter in this list and click the Add icon to add it to the Selected list. Optionally click the Add All icon to add all listed parameters, or a selection of multiple parameters, to the portlet.

Selected

Displays the public render parameters supported by the selected portlet. To remove a parameter from the portlet, select the parameter in this list and click the Remove icon to return it to the Available list. Optionally click the Remove All icon to remove all parameters, or a selection of multiple parameters, from the portlet.

Related Topics

"Introduction to Portlets" in Developing WebCenter Portal Assets and Custom Components with Oracle JDeveloper

"Building Standards-Based Java Portlets Using JSR 286" in Developing WebCenter Portal Assets and Custom Components with Oracle JDeveloper