-
1. Re: problem with loadScript
ilya_shaikovsky Apr 20, 2010 4:46 AM (in response to shasho)check this page with IE8 http://livedemo.exadel.com/richfaces-demo/richfaces/queue.jsf
It uses loadscript and stlye and looks ok for me.
-
2. Re: problem with loadScript
shasho Apr 20, 2010 4:56 AM (in response to ilya_shaikovsky)The page you mention looks fine, however in the code you can find the session id attached to the script, for example
script src="/richfaces-demo/scripts/queueUi.js;jsessionid=1501F525BEEC1EAC5E0EB6FA53CFC787" type="text/javascript">
I "solved" the above problem by replacing loadScript with
<script src=
But working with RichFaces I probably should use loadScript...
Amir
-
3. Re: problem with loadScript
ilya_shaikovsky Apr 20, 2010 5:07 AM (in response to shasho)where resources folder located relativelly to web-app root?
-
4. Re: problem with loadScript
shasho Apr 20, 2010 7:34 AM (in response to ilya_shaikovsky)the page is in
/site/
the js is in
/resources/js/
I opend a demo page that demonstrate the problem
The good (with include)
http://www.smartclub.co.il/site/home.smart
the bad (with loadScript)
http://www.smartclub.co.il/site/home_rich.smart
(this is the only different between them ...)
remember to close the IE each time
the name of the js is: home.js
-
5. Re: problem with loadScript
shasho Jun 6, 2010 1:06 AM (in response to shasho)Hi,
After some investigation I found that the cause of the problem is the connection between apache and jboss (5.01) using mod_jk (1.2)
The solution is to add JkStripSession On just above JkMount in the configuration file of mod_jk
JkStripSession On
# Mount your applications
JkMount .....see http://threebit.net/mail-archive/tomcat-users/msg17573.html
Amir