Community
Participate
Working Groups
Build Identifier: M20100211-1343 Sometimes when single sourcing things that happen fast in RCP take a bit longer in RCP because of Server Client communication and processing. If this takes to long browsers like Internet Explorer and Mozilla (Chrome does not act like this) will give a warning that the Javascript is not responding and asks the user if it wants to cancel the process. it would be preferable if RWT has a function that would give the user a ProgressMonitorDialog (after x seconds based on the Browser Client). So that this error is not given. Reproducible: Sometimes Steps to Reproduce: 1. Create a function that works for more then 30 seconds 2. Run the function 3. Browser will give error JavaScript not responding.
Are there existing javascript functions in RAP (test case), that lead to such an error? Can you provide a snippet to demonstrate the problem.
The mentioned warning is issued by browsers if the execution of a continuous piece of Javascript (i.e. the Javascript that is sent in one response) takes longer than a predefined amount of time. The Javascript performance and timout value differs among vendors. RAP can't do much about this. It is rather the responsibility of the application programmer to keep the amount of widgets that are created at once at a reasonable amount or to use VIRTUAL widgets where appropriate. Please feel free to reopen if you disagree or if you have further questions.