PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Displaying a page from the description of a control
  • Displaying a page by 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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, ...).
  • 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. Display the element description ("Description" from the popup menu of element).
  2. Select the action to perform: "Display the xxx page".
  3. Select the destination of 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 by 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 browser of the Web user.
PageUseCloses all the current pages and their context, and opens a new page.
When opening the page, you have the ability to pass parameters to the page. See Page with parameters for more details.
Note: By default, when opening a page by programming, the selected target is:
  • the target defined in the description of object that triggers the page opening (button, link, ...).
  • the target defined for the current page.
Case of dynamic pages
When displaying a dynamic page, the following actions are performed:
  1. Checking the existence of the page context on the server.
  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 required version
  • Version 9
Comments
Click [Add] to post a comment