Passing Client Data Directly to Dialogs
Open a dialog with dynamic client-side values by substituting page item placeholders in a URL template.
To pass dynamic client data to a dialog directly, thus avoiding a server round trip:
-
Use
APEX_PAGE.GET_URLto default a dialog URL template with page item value placeholders -
Use a JavaScript helper function to substitute the page item placeholders and open the dialog
-
Call the helper function in a triggered action to open the dialog, passing in the template URL
-
Disable session state protection on the target dialog page item receiving the dynamic value.