• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsf application firefox script timeout message

 
sudip narayan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a JSF application using groovy and grails with Primefaces and spring and hibernate backend. We also use jquery javascript library.We are running into a firefox script timeout error after using a particular screen more than 15-20 time doing crud operations. We are using a lazydatamodel for displaying the list. The dom object size seems to increase on every operation where we do a crud operation and come back to the list.
I have done some simple profiling of the code and feel the problem is somewhere in the ui layer.

The dom.max_script_run_time is 20 seconds in Firefox browser configuration.

i have been trying to mess with the settings but did not see any difference.


I have also refactored the code to send a simpler object when we display the list of results. Previously we were sending a huge domain object. But this is not helping in preventing the timeout.


Can you please suggest approaches for fixing the problem?
I appreciate your suggestions.

Thank you
 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the DOM object size is ever-increasing, I'd inspect the DOM itself to see what's being added to it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!