jquery crash

UI Components for JSF
Post Reply
kanikman
Posts: 111
Joined: 20 Nov 2009, 02:53
Location: Poland
Contact:

17 Mar 2011, 15:58

I have my own jsf component in my project based on jquery. Everything was ok up to some day. The last correct version of PF was snaphot 3 from 3.3.2011. Today i have checked new snapshot but the bag is the same. My component stop to works. So, I think (after looking in PF code) that you have changed jquery code in smoe bad way. I don't think its a good idea, to change jquery code. Why? Cose other can't use own component based on standard jquery. There must be a conflict. I don't known where but You know couse you have done it ;).

User avatar
bumble.bee
Posts: 723
Joined: 29 Sep 2010, 21:39
Location: United States

18 Mar 2011, 16:24

You can monitor changes here:

http://code.google.com/p/primefaces/source/list

PrimeFaces ugraded the version of jQuery it uses in early March.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Mar 2011, 17:16

We haven't changed jquery code :) Just updated it to 1.5.1.

kanikman
Posts: 111
Joined: 20 Nov 2009, 02:53
Location: Poland
Contact:

24 Mar 2011, 00:30

I've found solution ;). The problem is jqery problem. I had in my jqery code : var $aikQuery = jQuery.noConflict(); I have used aikQuery instead of $, but this construction no longer works in new jquery. Why? I don't know. I had to remove this construction from my code and now is ok.

Strange is that when i use 1.5.1 jquery in my component and PF from snaphot 3 from 3.3.2011 everything is ok, but when i use new snapshot PF with 1.5.1 everything stops work ;). It looks like jqery.conConflict() in jqery1.5.1 makes conflicts :)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests