Oracle9iAS Portal Developer Kit

get_module function

Contained in package wwa_api_module_session.

Call this function to return a copy of the form component associated with the form component session.

Note: Each form component session is associated with an form component.

member function get_module
return wwa_api_module,

Version: Oracle Portal 3.0.9

Parameters:

None

 

Return:

This function returns a copy of the form component associated with a form component session

Exceptions:

None.

Example:

Consider that a form (on the SCOTT.EMP table) has been created using the form builder and the module_id for the form is 7. Now you need to retrieve all the form settings in the form of an object.

declare
    l_form_module wwa_api_module;
    l_session wwa_api_module_session;
begin
        l_session := <portal_schema>.wwa_api_module_session.create_session (
                           p_module_id => 7,
                           p_version  => 1
                       );
        l_form_module := l_session.get_module;
end;

Related topics

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