Portlet Application Deployment Descriptor - Application

Use to specify general information in the portlet application deployment descriptor (portlet.xml).

The portlet.xml file is a deployment descriptor specific to portlet producer applications. Use it to specify the portlet resources. The Overview Editor enables you to edit portlet.xml without manually modifying it in Source mode.

Element Description

Version

Displays the version of portlet application descriptor chosen when the descriptor was created. This is always 2.0.

Default Namespace

(Optional) Enter the default namespace for the application.

Resource Bundle

Enter or browse for the resource bundle to use for language specific application level information, for example, descriptions of user attributes, events, and public render parameters.

Custom Modes

Use this panel to create and manage custom portlet modes for the application. This panel also lists the standard and extended portlet modes available to portlets in the application.

Click the appropriate button to add or remove a custom portlet mode.

Add

Click to create a custom portlet mode.

  • Portal Managed

    Select whether the portlet container (portal) needs to be aware of the portlet mode.

  • Portlet Mode

    Enter a name for the custom portlet mode. The name must be unique within the application.

  • Description

    Enter a description for the custom portlet mode.

Remove

Click to remove the currently selected portlet mode.

User Attributes

Use this panel to define the user attributes used by the portlets in the application. Portlets use user attributes to access information about the current user.

Click the appropriate button to add or remove a user attribute.

Add

Click to create a user attribute.

  • Name

    Enter a name for the user attribute, for example, user.name.given. The name must be unique within the application.

  • Description

    Enter a description for the user attribute, for example User Given Name.

Remove

Click to remove the currently selected user attribute.

Container Runtime Options

Use this panel to set container runtime options at the application level to control the runtime behavior of the portlet container. These options affect all the portlets in the application. You can override application-level container runtime options at the portlet-level.

Click the appropriate button to add or remove a container runtime option.

Add

Click to display a list of supported container runtime options and select the option that you want to define. Select <Customize> to define your own container runtime option. For a list of standard and extended container runtime options supported by WebCenter Portal, see "Supported Container Runtime Options."

  • Name

    Specify the name of the container runtime option. The name must be unique within the application.

  • Value

    Enter a value for the container runtime option.

Remove

Click to remove the currently selected container runtime option.


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