Official Content

Sets the directory to which the JavaScript files (*.js files) generated for the web objects’ menu bars and the Web Panels generated as static panels will be transferred. At compilation time, the generator will copy them to the specified directory. This property is read-only and is generated based on the Tomcat path property.

Scope

Generators: Java

Description

This property is read-only and it is generated based on the Tomcat path property.
It allows specifying the directory to which to transfer the JavaScript files (*.js files) generated for the web objects’ menu bars and the Web Panel objects generated as static panels. At compilation time, the generator will copy them to the specified directory. 

Notes:

  • This directory will also contain files with the images used in the Web Objects. These files must be manually copied to this directory and a reference to them will be made in the generated programs using the value of the “Static Content Base URL” property, concatenated with the name of each image. 
  • The path specified must be related to the client; that is, it must be seen from the PC where they are working with GeneXus.

Samples

  • X:\images – If the web server is installed in a PC that is mapped with the X “drive” and the directory used to leave the static content is the “images” directory. 
  • C:\resin\doc\images – If the servlets engine is RESIN and it has been installed locally in the C:\resin directory. Besides, the folder “images” has been created and the images have been copied there.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Rebuild All.

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant