PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Displaying a page from the description of a control
  • Displaying a page through programming (in WLanguage)
  • Case of dynamic pages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Displaying a page in a WEBDEV site
Overview
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, ...:
  1. Open the element description ("Description" in the context menu of the element).
  2. Select the action to perform: "Display the xxx page".
  3. 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.
  4. Validate.
Displaying a page through programming (in WLanguage)
Several WLanguage functions can be used to open a page.
PageRefreshRefreshes the page displayed according to its context.
PageDisplayOpens and displays a new page in the user's browser.
PageUseCloses all the current pages and their context, and opens a new page.
When the page is opened, you can pass parameters to it. See Page with parameters for more details.
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.
Case of dynamic pages
When displaying a dynamic page, the following actions are performed:
  1. The existence of the page context on the server is checked.
  2. The context is closed if it exists.
  3. Opening the page context. All the variables and controls linked to the page are re-initialized.
  4. Displaying the requested page in the browser.
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment