- Resulting display
In french: PageAfficheDialogue
Displays a page in modal mode. This function is used to establish a dialog with the user. The page is displayed in the foreground while the opening page is displayed in the background, grayed by the DDW mechanism. For more details, see "Resulting display".
The code of the page is locked until the page is closed by PageCloseDialog
. The page can return a value.
// Displays a page allowing the user to exit from the site
IF PageDisplayDialog(PAGE_Exit) = True THEN
// Displays an end page
// Close the session
// Displays a page to validate the information entered in the form
PageDisplayDialog(PAGE_Info, EDT_LastName, EDT_FirstName, EDT_Email_Address)
<Result> = PageDisplayDialog(<Page> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: Type corresponding to the retrieved value (optional)
Value retrieved when closing the page to open. This value is returned:
<Result> corresponds to False and an error is displayed if the user presses the browser "Back" button.
<Page>: Page name
Name of the page to open. This page must be a non-AWP dynamic page that does not use AJAX code.
<Parameter 1>: Type of value sent to the page (optional)
First parameter that will be passed to the "Global declarations" event of the page to open. This parameter is passed by reference and is considered as a variable global to the page.
<Parameter N>: Type of value sent to the page (optional)
Nth parameter that must be passed to the "Global declarations" event of the page to open. This parameter is passed by reference and is considered as a variable global to the page.
The display is as follows: the page displayed by PageDisplayDialog is displayed in the foreground.
Only the border and the content of the page are displayed: This page has no title bar, no taskbar, ... Regardless of its color, the page background is ignored.
The page that used PageDisplayDialog
is in the background. This page is grayed by DDW (Dim Disabled Pages). The DDW feature can be configured by PageActivateDDW
Remark: The opened page is not automatically centered: the display mode of the page must be defined in in its characteristics. We advise you to include a large part of the page in a cell with a background color in order to avoid the display effects caused by the DDW feature.
- The page displayed must be a non-AWP dynamic page.
- PageDisplayDialog must be used in a non-AWP dynamic page.
- If your project uses pre-launched sessions, this function must not be used in the project initialization event. This function must be used in the "Initializing the project after connection to the site" event.
Training (WEBDEV): WW_Wizard