Oracle9iAS Portal Developer Kit

show_xml procedure

Contained in package wwerr_api_error_ui.

Call this procedure to show the error stack in XML format. It is an alternative to the show method with the CONTENT_TYPE_XML
parameter value assumed.

This procedure should be called by functions that are explicitly handling the exception and producing a UI from it.

procedure show_xml

(

p_help_url in varchar2 default null,

p_text1 in varchar2 default null,

p_url1 in varchar2 default null,

p_text2 in varchar2 default null,

p_url2 in varchar2 default null,

p_text3 in varchar2 default null,

p_url3 in varchar2 default null

);

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_help_url

A string URL for the Help page, if one is available.

Note: A null value indicates that no Help page is available and no help icon is displayed.

Datatype: varchar2
Default: null

p_text1

A text string to print next to the first URL.

Datatype: in varchar2
Default: null

p_url1

The URL referred to in p_text1.

Datatype: in varchar2
Default: null

p_text2

A string to print next to the second URL.

Datatype: in varchar2
Default: null

p_url2

The URL referred to in p_text2.

Datatype: in varchar2
Default: null

p_text3

A string to print next to the third URL.

Datatype: in varchar2
Default: null

p_url3

The URL referred to in p_text3.

Datatype: in varchar2
Default: null

Exceptions:

This procedure raises no user-defined exceptions.

Example:

In this example, two URLs with accompanying text are provided, and the parameters p_text3 and p_url3 are null.

wwerr_api_error_ui.show_xml

(

p_text1 => "Help for this page",

p_url1 => http://iPortal.us.oracle.com:1500/30413_HELP/30413_HELP.page,

p_text2 => "Start Over.",

p_url2 => http://iPortal.us.oracle.com:1500/30785_DESIGN/30785_DESIGN.home

);

Related topics

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