Oracle9iAS Portal Developer Kit

portlet_subheaderlink 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 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_subheaderlink
(
  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 a link 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_subheaderlink := 'Info';

  l_subheaderlink :=

  wwui_api_portlet.portlet_subheaderlink

  (

  p_string => l_subheaderlink

  );

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

Related topics

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