Oracle9iAS Portal Developer Kit

create_button function

Contained in package wwui_api_portlet_dialog.

Call this function to create a button record, given a button name and a URL.

function create_button
  (
  p_button_name in varchar2 default null,
  p_button_url in varchar2 default null
  )
  return button;

Version: Oracle Portal 3.0.8

Parameters:

p_button_name

The title to be displayed on the button.

Datatype: in varchar2

p_button_url

The URL associated with the button.

Datatype: in varchar2

Returns:

This function returns a button.

Exceptions:

This procedure does not raise any exceptions.

Example:

wwui_api_portlet_dialog.create_button
(

p_button_url => 'Preview(''preview_portlet'')',

p_language => 'us'

);

Related topics

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