[Seaside] Re: Scriptaculous problem

Lukas Renggli renggli at gmail.com
Wed Sep 26 16:35:14 UTC 2007


> All $().fooBar is not a function is js unable to create the element object
> for some reason. I also remember happening that to me, and I solved that
> using a whole hierarchy of WAComponent subclasses that has an instVar #id
> that is guaranteed to be unique (get from a class variable #Counter in the
> abstract superclass) per element per page and is set at #initialize time.

Why not use

     html nextId

to generate an unique id?

Lukas

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


More information about the seaside mailing list