Oracle9iAS Portal Developer Kit

portlet_headertext 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 header.

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_headertext
(
  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 header. If a 'null' string is passed, it returns just the CSS class name.

Exceptions:

This function raises no exceptions.

Example:

l_headertext := 'Welcome';

  l_headertext :=

  wwui_api_portlet.portlet_headertext

  (

  p_string => l_headertext

  );

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

Related topics

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