[
https://issues.jboss.org/browse/RF-12322?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-12322:
------------------------------------
Have you tried using resource mapping to have RichFaces load a dummy javascript file? ie,
and empty or nearly empty file?
JQuery plugins can't be used properly with richfaces - even with
resource mapping.
----------------------------------------------------------------------------------
Key: RF-12322
URL:
https://issues.jboss.org/browse/RF-12322
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: resource handling
Affects Versions: 4.2.2.Final
Environment: JBoss 7.1.0, Firefox
Reporter: Dev S
Labels: richfaces, waiting_on_user
Attachments: rf-conflict.xhtml
I'm loading my own verison of JQuery in a template file. So it's available in all
the pages of my website.
In addition, JQuery plugins are also registered in the same template file. These plugins
work fine when none of richfaces components are used, but with any richfaces component,
none of these loaded plugins work. Reason being, richfaces loads Jquery again and it wipes
all the earlier plugins.
I tried by using resource mapping and was able to successfully load same version of
Jquery from same URL. But it still overrides my plugins.
Work around does exist. See below. But this workaround depend on internal logic of
richfaces which can be changed in future.
So richfaces should provide a configuration file or some other method by which resource
loading can be blocked for some resources.
--
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