| Oracle Application Server Portal PL/SQL API Reference - 10.1.4 | |||||||
| 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 for opening/closing dialogs and creating dialog buttons.
| Type Summary | |
button | record |
button_list | table |
| Function/Procedure Summary | |
close_dialog | |
create_apply_button | button |
create_button | button |
create_cancel_button | button |
create_close_button | button |
create_create_button | button |
create_delete_button | button |
create_next_button | button |
create_no_button | button |
create_ok_button | button |
create_preview_button | button |
create_previous_button | button |
create_reset_button | button |
create_reset_default_button | button |
create_yes_button | button |
open_dialog | |
| Type Detail |
type button is record (
button_name varchar2(2000),
button_url varchar2(2000)
)
button_name - the display name for a button on a dialogbutton_url - the URL associated with the buttontype button_list is table of button index by binary_integer
| Function/Procedure Detail |
procedure close_dialog(
p_contenttable in boolean default true,
p_width in varchar2 default null
) Example:
wwui_api_portlet_dialog.close_dialog;
p_contenttable - indicates to closeout the user content tablep_width - width of table in which buttons are rendered
function create_apply_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_apply_button
(
p_button_url => 'Save(''apply'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_button(
p_button_name in varchar2 default null,
p_button_url in varchar2 default null
) return buttonExample:
wwui_api_portlet_dialog.create_button
(
p_button_name => 'Preview',
p_button_url => 'preview_portlet()'
);
p_button_name - the title to be displayed on the buttonp_button_url - the URL associated with the button
function create_cancel_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_cancel_button
(
p_button_url => 'Save(''cancel'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_close_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_close_button
(
p_button_url => 'wizard(''close'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_create_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_create_button
(
p_button_url => 'wizard(''create'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_delete_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_delete_button
(
p_button_url => 'wizard(''delete'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_next_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_next_button
(
p_button_url => 'wizard(''next'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_no_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_no_button
(
p_button_url => 'confirmation(''no'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_ok_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_ok_button
(
p_button_url => 'Save(''finish'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_preview_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_preview_button
(
p_button_url => 'wizard(''preview'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_previous_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_previous_button
(
p_button_url => 'wizard(''previous'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_reset_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_reset_button
(
p_button_url => 'wizard(''reset'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_reset_default_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_reset_default_button
(
p_button_url => 'wizard(''reset_to_def'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
function create_yes_button(
p_button_url in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language
) return buttonExample:
wwui_api_portlet_dialog.create_yes_button
(
p_button_url => 'confirmation(''yes'')',
p_language => 'us'
);
p_button_url - the URL associated with the buttonp_language - the language in which the button title is displayed
procedure open_dialog(
p_title in varchar2,
p_sec_title in varchar2 default null,
p_dialog_image in varchar2 default null,
p_help_url in varchar2 default null,
p_subheader_text in varchar2 default null,
p_help_text in varchar2 default null,
p_buttons in button_list,
p_path_text in varchar2 default null,
p_language in varchar2 default wwctx_api . get_nls_language,
p_contenttable in boolean default true,
p_width in varchar2 default null
) Example:
wwui_api_dialog.open_dialog
(
p_title => 'Dialog',
p_dialog_image => dialog.gif,
p_help_url => 'javascript:show_context_sens_help()',
p_subheader_text => 'SubHeader'
p_help_text => 'This is the help text for dialog',
p_buttons => l_button_list,
p_path_text => 'Path:/Folder1/Folder2');
end;
p_title - the main title for the dialogp_sec_title - the secondary title displayed below the
main titlep_dialog_image - an image to be displayed below the title areap_help_url - a valid URL for the Help icon (displayed on
the title bar)p_subheader_text - subheader text displayed below the title
bar and imagep_help_text - help text (hint text) displayed below the
subheaderp_buttons - list of button names and URLs to be displayed
on the dialogp_path_text - the path to be displayed, for example the
Folder Pathp_language - the language in which the strings are displayedp_contenttable - indicates to closeout the user content tablep_width - width of table in which buttons are rendered.
| Oracle Application Server Portal PL/SQL API Reference - 10.1.4 | |||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||
| SUMMARY: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | DETAIL: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | |||||||