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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Mon Nov 5 23:42:17 EST 2012


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

Brian Leathem resolved RF-12322.
--------------------------------

        Labels:   (was: richfaces waiting_on_user)
    Resolution: Won't Fix


This is achievable with existing resource loading mechanisms.
                
> 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: Jboss fan99
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list