Oracle9iAS Portal Developer Kit

Overview of the user interface portlet API

The wwui_api_portlet package provides a mechanism for providers to integrate page styles into their portlets. In addition to this functionality, wwui_api_portlet has APIs for drawing a portlet header and border. A page style controls the colors and fonts used to render an Oracle portal page and all the portlets displayed within it. It is recommended that portlet developers integrate page styles in their portlets in order to create portlets that, when rendered in an Oracle Portal page, are consistent with the style used in that page and other portlets in that page.

When an Oracle Portal page is rendered, it includes a Cascading Style Sheet (CSS) with the definitions of the page's style settings. These styles are available to portlet developers through the wwui_api_portlet APIs. Since CSS are rendered by the page engine, they are only available in the Oracle Portal pages. You should only use these APIs in MODE_SHOW of the portlet's show method. The CSS are not available in the other modes of the portlet's show method.

To create dialogs, use the wwui_api_portlet_dialogs package.

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio