[
https://issues.jboss.org/browse/RF-11732?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč resolved RF-11732.
-----------------------------
Fix Version/s: (was: 4.3.0.Milestone1)
Resolution: Duplicate Issue
Duplicated by RF-11974
packed.js rendered multiple times using myfaces
-----------------------------------------------
Key: RF-11732
URL:
https://issues.jboss.org/browse/RF-11732
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: resource handling
Affects Versions: 4.1.0.CR1
Environment: MyFaces (2.1.1, 2.1.4)
Reporter: wojtek k
Priority: Critical
Labels: myfaces
It looks like RichFaces with MyFaces only replace old js (for example richfaces-event.js)
with "packed.js" when component need different javascripts.
So browser load multiple times packed.js.
Rendered Html page:
//--></script><script type="text/javascript"
src="/test-app/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.1.0.20111111-CR1/PackedCompressed/packed/packed.js"><!--
//--></script><script type="text/javascript"
src="/test-app/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.1.0.20111111-CR1/PackedCompressed/packed/packed.js"><!--
//--></script><script type="text/javascript"
src="/test-app/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.1.0.20111111-CR1/PackedCompressed/packed/packed.js"><!--
//--></script><script type="text/javascript"
src="/test-app/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.1.0.20111111-CR1/PackedCompressed/packed/packed.js"><!--
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira