[Seaside] SULibrary and jQuery 1.1.2 problem

Lukas Renggli renggli at gmail.com
Fri Sep 25 15:59:09 UTC 2009


JQuery and Prototype are two incompatible libraries that extend the
Javascript root namespace in conflicting ways. JQuery can be told to
play nice with Prototype, but it can get hairy if other extensions on
top of these libraries are involved:

   http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Lukas

2009/9/25 Dario Trussardi <dtrussardi at tiscali.it>:
> Hi,
>
> i d'ont have knowledge about javascript.
>
> I work with GLASS and Seaside 2.8.
>
> I have some SUComponent subclass.
>
> All work fine.
>
> A this point i need to integrate a CSS Dock menu   ( it using jquery and
> interface javascript ) into SUComponent subclass.
>
> After  load the jquery library the browser report the error:
>
>     L.dispatchEvent is not a function   (prototype.js riga 9 )
>
> and when  do some selection on CSS dock item  the error:
>
>     JQuery ( el.fisheyeCfg.itemsText, this) .get (0) is undefined.
> (interface.js riga 8 )
>
>
> How i can solve this " incompatibility " ?
>
> The browser substantiality do what i think but report the errors.
>
> Any pointers would be greatly appreciated!
>
> Thanks!
>
>     Dario
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list