Oracle9iAS Portal Developer Kit

get_target procedure

Contained in package wwa_app_module.

Call this procedure to get the target URL and target mode of a form component.

Note: To set these values, use the set_target procedure.

procedure get_target
(
    p_target in out varchar2,
    p_target_mode in out varchar2
);

Version:Oracle Portal 3.0.9

Parameters:

p_target

The target URL of the form component.

Datatype: in out varchar2

p_target_mode

The target mode.

Options are: CALL and GO:

  • GO - the current session is dropped before going to the URL.
  • CALL - the current session is not dropped so you can return to previous session.

Datatype: varchar2

Exceptions:

None.

Example:

declare

l_target varchar2(2000);
l_target_mode varchar2(100);

begin

<portal_schema>.wwa_app_module.get_target
(

p_target => l_target,
p_target_mode => l_target_mode

);

end;

Related topics

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