Use Newer JQuery Version with RichFaces
Posted in by Tudip at 05:06 Comments Off on Use Newer JQuery Version with RichFaces
RichFaces 3.3 comes with older version of JQuery. If you want to use a fancy plugin that requires a newer version of JQuery, you are stuck. Right? Well, not really :).
We have been using newer versions of JQuery with RichFaces without breaking any inbuilt functionality of RichFaces.
First lets store the reference of the JQuery of RichFaces in a variable named $rfjquery :
Having done that, time to include newer version of the JQuery
Once you are done with all the changes of the plugin and used all the fancy features of the newer version of JQuery, time to revert to the original version of RichFace’s JQuery so that we do not break anything.
That’s it. If you have any problem, leave a comment.