[richfaces-issues] [JBoss JIRA] (RF-12833) richfaces.js conflicts with prototype.js

Mark Torres (JIRA) jira-events at lists.jboss.org
Mon Apr 15 12:14:53 EDT 2013


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

Mark Torres updated RF-12833:
-----------------------------

    Attachment: RF-12833.patch


Any reason why the following attached patch won't work? This pattern seem to be used in the other js files in richfaces-core.

One of the issues is that inside richfaces.js, there are references to $, which it expects to be jQuery. This is usually occupied by prototype.
                
> richfaces.js conflicts with prototype.js
> ----------------------------------------
>
>                 Key: RF-12833
>                 URL: https://issues.jboss.org/browse/RF-12833
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.3.1
>            Reporter: Mark Torres
>             Fix For: 5-Tracking
>
>         Attachments: RF-12833.patch
>
>
> Getting some javascript errors on richfaces.js.
> Upon inspection, it is using
> (function(jQuery, richfaces) {
> ...
> instead of 
> (function($, richfaces) {
> ...

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