get_names function

Contained in package wwpro_api_parameters.

Call this function to get a list of parameter names, given the portlet's reference path. If no names are found, an empty list is returned.

function get_names

(

p_reference_path in varchar2

)

return owa.vc_arr;

Any user can use this function.

Version: Oracle Portal 3.0.6.6.5 or later

Parameter:

p_reference_path

Uniquely identifies a portlet instance on a page.

Datatype: in varchar2

Returns:

This function returns an ordered list of parameter names for a given reference path or and empty list if no parameters were found for that reference path.

Exceptions:

This function raises no exceptions.

Example:

If a URL has these parameters:

http://.......?empno=10;&deptno=10;&a.deptno=20;a.deptno=25&a.folderid=30

Then this call:

l_names owa.vc_arr;

l_names := wwpro_api_parameters.get_names

(

p_reference_path =>'a'

);

Returns:

deptno and folderid in l_names.

Note

A portlet instance is the display of a portlet on a single page. The same portlet may be displayed multiple times on the same page. Each time a portlet is added to a page, Oracle Portal generates a unique portlet instance ID that is the instance's reference path.

Related topics

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