ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Page / Programming
  • Overview
  • Displaying a page from the description of a control
  • Displaying a page through programming (in WLanguage)
  • Case of dynamic pages
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Displaying a page in a WEBDEV website
Overview
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.:
  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 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.
  4. Validate.
Displaying a page through programming (in WLanguage)
Several WLanguage functions can be used to open a page.
PageDisplayOpens and displays a new page in the user's browser.
PageRefreshRefreshes the page displayed according to its context.
PageUseCloses 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.
Case of dynamic pages
The following operations are performed to display a dynamic page:
  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 variables, fields (or others) linked to the page are reset.
  4. Displaying the requested page in the browser.
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help