-
1. Re: RichFaces 3.0.2 snapshot + jQuery + Tree
Michal Nikodim Aug 10, 2007 7:44 AM (in response to cc c)same problem. is there any solution ?
-
2. Re: RichFaces 3.0.2 snapshot + jQuery + Tree
Michal Nikodim Aug 10, 2007 7:55 AM (in response to cc c)i use last 3.0.2 snapshots for richfaces and ajax4jsf
detail:
richfaces-3.0.2-20070810.000236-1.jar
ajax4jsf-1.1.2-20070810.000236-159.jar
myfaces-api-1.1.5-1.0.0.jar
myfaces-impl-1.1.5-1.0.0.jar
this problem is in snapshot a long time (min 20 version back)
i tryied cut off jQuery from my project, but problem stay.
For simplest simulate this problem, try any rich:tree with switchType="client" where won't go expand or collapse any node on tree, because there is JS error witch reported by _jmax_ on top. -
3. Re: RichFaces 3.0.2 snapshot + jQuery + Tree
cc c Aug 24, 2007 4:02 AM (in response to cc c)The tree javascript error is fixed in 3.1.0.
(i use 3.1.0-rc3 : ok)
Actualy, this bug is not caused of JQuery.
To use JQuery with richFaces (prototype.js), you have to avoid the $() function conflict.
JQuery provide a special function to do that :Jquery.noConflict()
(see http://docs.jquery.com/Using_jQuery_with_Other_Libraries)
Hope that helps.