[richfaces-issues] [JBoss JIRA] Created: (RF-4476) Prototype.js loaded twice when using a4j:loadScript together with components which requests prototype too.
josef adamcik (JIRA)
jira-events at lists.jboss.org
Mon Sep 15 08:06:20 EDT 2008
Prototype.js loaded twice when using a4j:loadScript together with components which requests prototype too.
----------------------------------------------------------------------------------------------------------
Key: RF-4476
URL: https://jira.jboss.org/jira/browse/RF-4476
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: josef adamcik
When I use <a4j:loadScript src="resource://prototype.js" /> (mentioned in demo application http://livedemo.exadel.com/richfaces-demo/richfaces/script.jsf?c=loadScript&tab=usage ) and some component loads Prototype too, it results in two different script urls (and two script tags in document header):
/a4j/g/3_2_2.GAorg.ajax4jsf.javascript.PrototypeScript.faces
and:
/a4j/g/3_2_2.GAprototype.js.faces
-> script is loaded downloaded and included twice.
Commonly it doesn't cause problem, but sometimes it can broke prototype in IE 6 (not tested other versions). (There was problem with suggestion box throwing errors on some methods from script.aculo.us in my case.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list