Oracle9iAS Portal Developer Kit

portlet_headerlink function

Contained in package wwui_api_portlet.

Call this function to return the string with the Cascading Style Sheets (CSS) font settings for a link 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_headerlink
(
  p_string in varchar2
 ) return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_string

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

Datatype: in varchar2

Returns:

This function returns a varchar2 with the CSS font settings for a link 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_headerlink := 'Info';

l_headerlink := wwui_api_portlet.portlet_headerlink

  (

  p_string => l_headerlink

  );

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

Related topics

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