Genero for Web Applications (GWA) 5.01 changes
Modifications to consider when using Genero for Web Applications.
This topic describes features changes in the GWA 5.01 product.
GWA 5.01 with FGLGWS 5.01
The GWA version 5.01 is built on FGLGWS 5.01 and therefore, strongly tied to this Genero BDL version.
Changes to the /home directory
Starting from GWA 5.01.02, each GWA program with a different path on the same domain has a distinct home directory that is mapped in IndexedDB (external link) caches, where the application state can be stored even if the application is restarted or the browser is restarted.
Previously, the /home
directory was shared across the entire domain. Now, each
application has its own subdirectory within /home
, such as
/home/build_directory_basename
, where build_directory_basename
corresponds to the name of the program's build directory.
For example, the os.Path.pwd()
for an application's home directory now returns
/home/build_directory_basename instead of just
/home as it was before.
For more information on the GWA file system in the browser, go to File system. For more information about managing persistence in the GWA, go to Managing persistence in the file system.
Specifying the working directory as /app
Since applications may need to access resources in the /app directory in the browser, you may need to specify the path to the /app directory as the working directory (pwd) when building your GWA package.
Starting with GWA 5.01.02, the path to the working directory can be set to
/app with the gwabuildtool option
--app-dir-is-pwd
.
For more information on the GWA file system in the browser, go to File system. For more information about gwabuildtool options, go to gwabuildtool.