Oracle9iAS Portal Developer Kit

portlet_subheadertext function

Contained in package wwui_api_portlet.

Call this function to return the string with the Cascading Style Sheets (CSS) font settings for text in the portlet subheader.

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

function portlet_subheadertext
(
  p_string in varchar2
) return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_string

The string on which the CSS style is to be applied.

Datatype: in varchar2

Returns:

This function returns a varchar2 with the CSS font settings for text in a portlet subheader. If a 'null' string is passed, it returns just the CSS class name.

Exceptions:

This function raises no exceptions.

Example:

l_subheadertext := 'Admin';

  l_subheadertext :=

  wwui_api_portlet.portlet_subheadertext

  (

  p_string => l_subheadertext

  );

  htp.p('<td>'||l_subheadertext||'</td>');

Related topics

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