When the ILOG JavaScript files are dynamically loaded, they do not execute as expected. The sample application exhibits this when the user switches between diagrammer and charting views.
Mircea Toma
added a comment - Javascript files are loaded asynchronously which can change the order of the evaluation of "script" elements in the updated page.
When the JS files are loaded the first time (not cached) the user will maybe notice a delay for the updates to be applied. The delay will depend on factors like connection speed and size of files.
Mircea Toma
added a comment - When the JS files are loaded the first time (not cached) the user will maybe notice a delay for the updates to be applied. The delay will depend on factors like connection speed and size of files.
We believe this to be the correct behavior as it is important that all JavaScript functions are available before the user interacts with the page (potentially invoking JavaScript functions in event handlers). Loading the JavaScript resources synchronously blocks the UI thread until the resources are loaded. If the browser is implemented correctly, they will have separate UI threads for separate windows.
Ted Goddard
added a comment - We believe this to be the correct behavior as it is important that all JavaScript functions are available before the user interacts with the page (potentially invoking JavaScript functions in event handlers). Loading the JavaScript resources synchronously blocks the UI thread until the resources are loaded. If the browser is implemented correctly, they will have separate UI threads for separate windows.
Javascript files are loaded asynchronously which can change the order of the evaluation of "script" elements in the updated page.