Lukáš Fryč created RF-11949:
-------------------------------

             Summary: Exclude jquery.js from resource packaging
                 Key: RF-11949
                 URL: https://issues.jboss.org/browse/RF-11949
             Project: RichFaces
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: component
    Affects Versions: 4.2.0.CR1
            Reporter: Lukáš Fryč


Currently when you request {{jquery.js}} resource loaded (implicitly by 
rendering third-party component which depends on 
 {{jquery.js}} or explicitly with {{<h:outputScript />}}), {{packed.js}} is 
renderer instead.

It leads into errors when {{packed.js}} is loaded before {{jsf.js}} as in 
RF-11739.

For RichFaces components, issue was solved in RF-11876, but page still can be 
broken.

----

I suggest to remove {{jquery.js}} from default packaging - we will get one more 
request, but we will achieve ability to rewrite {{jquery.js}} (leading into 
improved interoperability) and we will avoid issues which you mentioned.

Currently resource dependency graph starts with {{javax.faces:jsf.js}} -> 
{{null:jquery.js}} -> ... so I don't see problem in excluding {{jquery.js}} 
from packaging since it shoudln't cause any other problems with resource 
dependency ordering.

--
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

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to