This content has been marked as final.
Show 4 replies
-
1. Richfaces conflicts with primefaces
ppitonak May 6, 2011 7:03 AM (in response to sebastianovide)1 of 1 people found this helpfulHi,
both RichFaces and PrimeFaces use jQuery so it's probably loaded twice on your page. One of these should be loaded in no-conflict mode (see http://api.jquery.com/jQuery.noConflict/).
As far as I know, PrimeFaces 2.2.x uses jQuery in no conflict mode so it should not cause problems. Which version of RichFaces and PrimeFaces do you use?
Regards,
Palo -
2. Richfaces conflicts with primefaces
sebastianovide May 6, 2011 7:32 AM (in response to ppitonak)You are right... in the HTML generated I can see 2 jqueries...
I'm using RichFaces 4.0.0.Final and Primefaces 3.0.M1
Is there any way to get rid of one of those ?
-
3. Re: Richfaces conflicts with primefaces
jackjackrus May 6, 2011 8:07 AM (in response to sebastianovide)Try to put <rich:jQuery rendered="false" /> after <h:body>, for example. It could help. Found there: http://community.jboss.org/thread/161794?start=0&tstart=0 at the last post.
-
4. Re: Richfaces conflicts with primefaces
sebastianovide May 6, 2011 9:38 AM (in response to jackjackrus)thanks for that. That fixed the JS conflicts