No, you just need to call it once after jquery itself has loaded. jQuery plugin authors (should) define the plugin in an capsuled function/closure in order to avoid issues with other libraries - like prototype. see - http://docs.jquery.com/Plugins/Authoring#Summary_and_Best_Practices So - although the plugin is using $ internally - it's an alias for jQuery, but only in the scope of the closure.
It's the recommended approach and JQueryUI does this for sure. You might also want to checkout http://docs.jquery.com/Using_jQuery_with_Other_Libraries#Referencing_Magic_-_Shortcuts_for_jQuery for how to write blocks of jquery code without using jQuery namespace all of the time. cheers Magnus On Wed, Aug 31, 2011 at 3:09 PM, Julien Martin <bal...@gmail.com> wrote: > Hello again, > Do I also need to add the jQuery.noConflict() at the end of the JQuery UI > file? > J. > > 2011/8/30 Gunnar Eketrapp <gunnar.eketr...@gmail.com> > > > I use jQuery without any hazzle. > > > > Just remember to call jQuery.noConflict() and to use jQuery instead of $ > > since prototype has taken that one. > > > > 2011/8/30 Julien Martin <bal...@gmail.com> > > > > > Hello all, > > > Can someone please tell me what are the recommended patterns or > > frameworks > > > - > > > if any - I should rely if I want to use JQuery together with Tapestry > 5? > > > For instance, can I just include the JQuery library in my template > pages > > > and > > > go ahead and use JQuery features? Are there pitfalls I should avoid? > > > Any clue or comment welcome. > > > Thanks, > > > Julien. > > > > > > > > > > > -- > > [Hem: 08-715 59 57, Mobil: 070-991 86 42] > > Allévägen 2A, 132 42 Saltsjö-Boo > > >