Hello Nick.
Hi Gastón,I don't know specifically about PQCyclerWidget - but it looks as though you've diagnosed your problem successfully.
One way ensure that the jQuery libraries are served, is to use the /config application to add libraries to your application:
Browse to /config eg http://localhost:8080/configSelect your Pier site, by default it's registered at /pierUnder the General/Libraries, click on 'Configure'Then in Library configuration click OverrideAdd the JQuery libraries, for example JQDevelopmentLibrary, JQUIDevelopmentLibrary, JQFlickTheme (you may not require the last two).There is more information available: http://book.seaside.st/book/in-action/serving-files
Hope this helps
Nick
2012/1/17 Gastón Dall' Oglio <gaston.dalloglio@gmail.com>
_______________________________________________Hello all.Short history, what is the better manner to load jquery libraries for get working a PQCyclerWidget?Long...I wanted to add a slideshow to a Pier site and I saw that already exists a PRWidget for JQCycle, and I say great! Quickly I got to show the images that I added to a structure, but without the effect... After a some experimentation (I'm newbe in Pier) I saw this error in the browser console: "Uncaught exception: ReferenceError: Undefined variable: jQuery". Then I understood that the jquery library was not loaded, and I go to the implementation of PQCyclerWidget and saw this:PQCyclerWidget>>updateRoot: anHtmlRoot
super updateRoot: anHtmlRoot.
"assume that jQuery libraries are already loaded"
anHtmlRoot javascript url: JQWidgetBoxDeploymentLibrary / #jquerycycleallJsthen, I add this (before the existing line) and now the slideshow works fine:anHtmlRoot javascript url: 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'.
which is surely not the right way to load jquery in pier.About instalation of this widget, I just load JQWidgetBox-Core and JQWidgetBox-Cycle-Core in a Pier2 image (no dev packages), it is correct?Regards
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki