This content has been marked as final.
Show 6 replies
-
1. Re: Very slow javascript in web-application
nbelaevski Dec 30, 2009 9:06 AM (in response to suprairc)Hi,
Please try the same using DEFAULT scripts loading strategy and post results. Also post page code.
-
2. Re: Very slow javascript in web-application
boy18nj Dec 30, 2009 9:24 PM (in response to nbelaevski)Also Jordy, can you please let me know which java profiler you are using. -
3. Re: Very slow javascript in web-application
suprairc Jan 11, 2010 3:54 AM (in response to nbelaevski)How do I use DEFAULT scripts loading strategy.
I can't post you the page code since we create our components dynamically in JAVA.
And by the way, I didn't use a JAVA profiler, but a Javascript Profiler. I used the one built-in Firebug.
-
4. Re: Very slow javascript in web-application
ilya_shaikovsky Jan 11, 2010 8:09 AM (in response to suprairc)How do I use DEFAULT scripts loading strategy.
<context-param> <param-name>org.richfaces.LoadScriptStrategy</param-name> <param-value>DEFAULT</param-value> </context-param>
I can't post you the page code since we create our components dynamically in JAVA.
so show the code which creates page.
-
5. Re: Very slow javascript in web-application
suprairc Jan 11, 2010 8:13 AM (in response to ilya_shaikovsky)I tried that, but that didn't help
It is very difficult for me to post the page, because it's a huge application which generates a GUI based on a Database Driven application.
But can you tell me what the i() and curCSS() functions do? And why they take so long to execute.
-
6. Re: Very slow javascript in web-application
suprairc Jan 18, 2010 5:11 AM (in response to suprairc)I also want to mention that this problem only occurs in Firefox. IE8 and Chrome are still working normal.