- Retrieving parameters in the "Global declarations" event
- Retrieving the parameters with PageParameter
- Principle for opening a page
- Operations run when the page is displayed
- Special cases
- Opening a page of a component
- Pre-launched sessions
PageDisplay (Function) In french: PageAffiche Displays a site page in the browser of Web user.
Note: If PageDisplay is used in the code of a Button control, the page will be opened in the target defined for this Button control ("General" tab of the control description or ChangeTarget). Versions 24 and later New in version 24
// Displays a static page in the current frame PageDisplay(PAGE_STATICPAGE)
// Displays any page in the current frame IF Nation() = nationEnglish THEN PageDisplay("US/PAGE_Example.HTM") ELSE PageDisplay("FR/PAGE_Example.HTM") END
// Displays a static page in a new resizable browser // (500x400). This browser will be closed if the calling browser is closed. sPageName is string = "STATICPAGE" PageDisplay(sPageName, NewBrowser, ... "NEWBRW", ONDimension + ONScrollBar, 500, 400, 10, 20, "dependent=1")
Remarks Versions 20 and laterPre-launched sessions If your project uses pre-launched sessions, this function must not be used in the project "Initializing" event. This function must be used in the event "Initializing the project after connection to the site". New in version 20Pre-launched sessions If your project uses pre-launched sessions, this function must not be used in the project "Initializing" event. This function must be used in the event "Initializing the project after connection to the site". Pre-launched sessions If your project uses pre-launched sessions, this function must not be used in the project "Initializing" event. This function must be used in the event "Initializing the project after connection to the site". Component : wd250page.dll
|
|
|