| Oracle9iAS Portal PL/SQL API Reference - 9.0.2.6 | |||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||
| SUMMARY: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | DETAIL: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | |||||||
This package contains methods to work with portlets deployed via the Federated Portal Adapter.
Use these methods when writing database providers which have portlets which may be accessed from another Portal (via HTTP) using the Federated Portal Adapter. The Federated Portal Adapter component allows database providers (written in PL/SQL) to be accessed as if they are Web providers, i.e. via HTTP.
Oracle9iAS Portal communicates with Web providers via HTTP and SOAP, and using PDK-Java you can easily develop providers in Java that receive SOAP messages and respond accordingly. However, providers do not have to be written in Java. Providing they receive and respond to SOAP messages sent by Oracle9iAS Portal, providers can be written in any language.
The Federated Portal Adapter receives SOAP messages for a Web provider, parses the SOAP and then dispatches the messages to a database provider as PL/SQL procedure calls. In effect, the Federated Portal Adapter makes a database provider behave exactly the same way as a Web provider, allowing users to distribute their database providers across database servers. All remote providers can be treated as Web providers, hiding their implementation (database or Web) from the user.
| Function/Procedure Summary | |
is_call_via_adapter | boolean |
open_form | |
| Function/Procedure Detail |
function is_call_via_adapter return boolean
Example:
wwpro_api_adapter.is_call_via_adapter;
procedure open_form(
p_formattr in varchar2,
p_prr in wwpro_api_provider.portlet_runtime_record
) Call this procedure to open a form on a portlet's customize page in a manner suitable for use in a portlet which may be deployed using the Federated Portal Adapter.
This means that customization is performed in the same way as
PDK-Java, i.e. via a call to htp.formOpen and then htp.formHidden
for these parameter names:
These parameters are needed by the Parallel Page Engine (PPE) to show the portlet again. This is exactly the same as the parameters on the customization form for PDK-Java portlets. For example, user clicks:
Subsequent htp.formHidden calls may be made for other parameter names and values to be saved, e.g. new Title for the portlet.
Example:
wwpro_api_adapter.open_form
(
p_formattr => 'NAME="customfolder"',
p_prr => p_portlet_runtime_record
);
p_formattr - the form attributes (equivalent to the
cattributes parameter of htp.formOpen)p_prr - the portlet runtime record containing the
parameter values used to populate the form
| Oracle9iAS Portal PL/SQL API Reference - 9.0.2.6 | |||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||
| SUMMARY: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | DETAIL: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | |||||||