ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Your version: 01F250083H (WINDEV 25)

Help / Editors / Code editor
  • Overview
  • Enabling the framework V2
  • How to proceed?
  • When should I use (or not) the new framework?
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
Browser code (WLanguage): Framework 2
Overview
From version 22, WEBDEV proposes a new WLanguage framework for the browser code. This new version proposes a behavior close to server code and it completes the features of browser code.
Enabling the framework V2

How to proceed?

The new WLanguage framework is enabled globally for a project:
  1. Open the project description window: on the "Project" pane, in the "Project" group, click "Description".
  2. In the "Compilation" tab, for the "WLanguage browser" option, select "Version 2".
  3. Validate.
Important: To use the WLanguage framework version 2, the generation standard of pages must be "HTML 5". To define the the generation standard:
  1. Open the project description window.
  2. In the "Advanced" tab:
    • Select the "HTML 5" standard.
    • In the generation options ("..." button), disable the "IE8 compatibility" option.
    If one of these conditions is not fulfilled, the "WLanguage browser" option will be grayed and forced on "Version 1".

When should I use (or not) the new framework?

The new browser framework proposes a behavior close to WLanguage server. Therefore, some behaviors of browser code are modified, especially the method for passing parameters to the procedures.
We do not advise you to modify the generation mode of a project in production to avoid modifying the code behavior and to avoid triggering regressions.
To use the new framework version in an existing project (to benefit from the new features), we advise you to run full tests of different project codes to make sure that the change of framework does not trigger any regression.
When creating a new project, it may be interesting to use the framework in version 2 in order to benefit from the programming comfort of new features.
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment

Last update: 06/08/2020

Send a report | Local help