|
|
|
|
|
- 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 website
Displaying a new page in a WEBDEV website can be done according to several methods: - directly from the description of the field that is to open the page (button, link, menu, clickable image, etc.).
- through programming in WLanguage.
Displaying a page from the description of a control When describing a Button, Link or Image field, it is possible to directly define the action performed, and the destination of this action. To display a "xxx" page directly from a Button, Link, Image, etc. field.: - Open the element description ("Description" in the context menu of the element).
- Select the action to perform: "Display the xxx page".
- Select the action destination: Current page, current browser, etc.
In the case of a frameset, it is possible to choose a specific frame. The action 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. Note: By default, when a page is opened in programming mode, the destination is: - or the destination defined in the description of the object opening the page (button, link, etc.).
- the destination set for the current page.
The following operations are performed to display a dynamic page: - The existence of the page context on the server is checked.
- The context is closed if it exists.
- Opening the page context. All variables, fields (or others) linked to the page are reset.
- Displaying the requested page in the browser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|