[richfaces-issues] [JBoss JIRA] (RF-12322) JQuery plugins can't be used properly with richfaces - even with resource mapping.

Dev S (JIRA) jira-events at lists.jboss.org
Tue Jun 12 10:10:04 EDT 2012


     [ https://issues.jboss.org/browse/RF-12322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dev S updated RF-12322:
-----------------------

    Attachment: rf-conflict.xhtml

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

        


More information about the richfaces-issues mailing list