PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Enabling the framework V2
  • How to?
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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?

The new WLanguage framework is enabled globally for a project:
  1. Open the project description window: on the "Project" tab, in the "Project" group, click "Description".
  2. In the "Advanced" 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), check "Force Internet Explorer in HTML5 mode in intranet (X-UA-compatible)".
    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.
It is not recommended to modify the generation mode of a project in production to avoid modifying the code behavior and to avoid 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