Oracle9iAS Portal Developer Kit

portlet_body_color function

Contained in package wwui_api_portlet.

Call this function to return the Cascading Style Sheets (CSS) class for the portlet body color.

Note: Since CSS are rendered by the page engine, they are only available in the Oracle Portal pages. Portlet implementations should only use this API in MODE_SHOW of the portlet's show method. CSS are not available in the other modes of the portlet's show method.

function portlet_body_color

return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Returns:

This function returns the CSS class for the portlet body color.

Exceptions:

This function raises no exceptions.

Example:

wwui_api_portlet.portlet_body_color;

htp.p('<TR class="'||
  wwui_api_portlet.portlet_body_color ||'">');

Related topics

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