|
draw_portlet_header procedure |
|
Contained in package wwui_api_portlet. This procedure draws the header for the portlet. The portlet Show method can call this procedure when the page calls portlet.show. This API can be used by the provider to draw the portlet header in the Show mode of the portlet show method. It is recommended that the portlet header be drawn if the has_title property passed to the Show method is true. Note: If you are using Oracle Portal 9.0.2 or later, it is recommended that you use render_portlet_top to draw the portlet header rather than the draw_portlet_header procedure described here. procedure draw_portlet_header |
|
Version: Oracle Portal 3.0.6.6.5 or later |
|
|
Parameters: |
|
|
p_provider_id |
The ID of the provider to which the portlet belongs. Datatype: in integer |
|
p_portlet_id |
The portlet ID. Datatype: in integer |
|
p_title |
The portlet title. Datatype: in varchar2 |
|
p_has_details |
Whether the portlet implements mode_show_details. MODE_SHOW_DETAILS is one of the display modes of the show_portlet method (database provider) and of PortletRenderer.render (Web provider). It displays detailed information implemented by the portlet. Datatype: in Boolean |
|
p_has_edit |
Whether the portlet implements mode_show_edit. MODE_SHOW_EDIT is one of the display modes of the show_portlet method (database provider) and of PortletRenderer.render (Web provider). It implements an interface for user customizations for an individual instance of a portlet.
Datatype: in Boolean |
|
p_has_edit_ |
Whether the portlet implements mode_show_edit_defaults. MODE_SHOW_EDIT_DEFAULTS is one of the display modes of the show_portlet method (database provider) and of PortletRenderer.render (Web provider). It implements an interface for default customizations for an individual instance of a portlet. Notes:
Datatype: in Boolean |
|
p_has_help |
Whether the portlet implements mode_show_help, i.e. can display help information about the portlet. Datatype: in Boolean |
|
p_has_about |
Whether the portlet implements mode_show_about, i.e. can display information such as that found in the About box of any application. Datatype: in Boolean |
|
p_show_details |
Whether the portlet displays detailed information implemented by the portlet. Note: This field is available with Oracle9iAS Portal 9.0.2 or later. Datatype: in Boolean |
|
p_show_edit |
Whether the portlet displays a Customize link. Note: This field is available with Oracle9iAS Portal 9.0.2 or later. Datatype: in Boolean |
|
p_show_help |
Whether the portlet displays a Help link. Note: This field is available with Oracle9iAS Portal 9.0.2 or later. Datatype: in Boolean |
|
p_show_about |
Whether the portlet displays an About link. Note: This field is available with Oracle9iAS Portal 9.0.2 or later. Datatype: in Boolean |
|
p_show_remove |
Whether the portlet displays a Remove icon. Note: This field is available with Oracle9iAS Portal 9.0.2 or later. Datatype: in Boolean |
|
p_show_collapse |
Whether the portlet displays a Collapse/Restore link. Note: This field is available with Oracle9iAS Portal 9.0.2 or later. Datatype: in Boolean |
|
p_is_collapsed |
Whether the portlet content is collapsed. Note: This field is available with Oracle9iAS Portal 9.0.2 or later. Datatype: in Boolean |
|
p_referencepath |
The portlet instance ID. A portlet instance refers to the placement of an individual portlet within an individual Oracle Portal page. The value for p_reference_path passed into the Show method in the portlet record should be used for this parameter. Datatype: in varchar2 |
|
p_back_url |
The URL for the calling page passed through the links generated in the portlet header. The value for the p_back_url parameter should be set to the value of the parameter p_portlet_record.page_url passed on show method. Datatype: in varchar2 |
|
p_refresh_url |
The URL for the calling page. The page is reloaded/built from the database, rather than from cache. Note: This field is available with Oracle9iAS Portal 9.0.2
or later. Datatype: in varchar2 |
|
Exceptions: This procedure does not raise any exceptions. Example: if (p_portlet_record.has_title_region) then /* Draw the portlet header and specify what links are
available */ wwui_api_portlet.draw_portlet_header ( p_provider_id => p_portlet_record.provider_id, p_portlet_id => p_portlet_record.portlet_id, p_title => 'My Portlet Title', p_has_details => true, p_has_edit => true, p_has_help => true, p_has_about => true, p_referencepath => p_portlet_record.reference_path, p_back_url => p_portlet_record.page_url ); end if; |
|
|
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio |