- Overview
- Displaying a page from the description of a control
- Displaying a page through programming (in WLanguage)
- Case of dynamic pages
Displaying a page in a WEBDEV site
Displaying a new page in a WEBDEV site can be done according to several methods: - from the description of the control that must open the page (button, link, menu, clickable image, etc.).
- by programming in WLanguage.
Displaying a page from the description of a control When describing a button, a link, a clickable image, ... you have the ability to define the action performed as well as the destination of this action. To display a page "xxx" from a button, a link, an image, ...: - Open the element description ("Description" in the context menu of the element).
- Select the action to perform: "Display the xxx page".
- Select the destination of the action: current page, current browser, ... (specific frame for a frameset). The action that was previously selected will be performed in this frame.
- Validate.
Displaying a page through programming (in WLanguage) Several WLanguage functions can be used to open a page. | | PageDisplay | Opens and displays a new page in the user's browser. | PageRefresh | Refreshes the page displayed according to its context. | PageUse | Closes all the current pages and their context, and opens a new page. |
When the page is opened, you can pass parameters to it. For more details, see Page with parameters. Remark: By default, when a page is opened through programming, the selected destination is: - the target defined in the description of object that triggers the page opening (button, link, etc.).
- the destination set for the current page.
When displaying a dynamic page, the following actions are performed: - The existence of the page context on the server is checked.
- The context is closed if it exists.
- Opening the page context. All the variables and controls linked to the page are re-initialized.
- Displaying the requested page in the browser.
|
|
|
|