[Seaside] I broke my autocompleter

Norbert Hartl norbert at hartl.name
Tue Jul 17 06:47:56 UTC 2007

On Mon, 2007-07-16 at 17:42 +0200, Lukas Renggli wrote:
> > - What is the best scriptaculous version for the latest
> >   Seaside 2.7b1?
> I would try Scriptaculous-lr.179 (according to the commit log).
Ok, thanks, I came to 174 with a working setup.

> > - Is it sufficient to have a look in SULibrary and dump
> >   all methods in selectorsToInclude to files and add them
> >   to updateRoot: ?
> Yes, but it is probably easier if you just download the right version
> from script.aculo.us. If you use SUSortable with a tree-structure, you
> manually need to copy the patch to a file that comes with SULibrary.
I'll try downloading scriptaculous direct from the web site.

> > - In case of lightbox how do I find a good combination
> >   of seaside scriptaculous und lightbox which work together?
> Mhh, they are together in one package, no?
Yes, but the bundle that light box brings along doesn't fit
automatically the requirements of seaside, right? The point
for me is that I just missed the version note in the scriptaculous
pieces which are included in seaside. I just need to search a
version of seaside/scriptaculous and version of lightbox that
fit together.

> > My problem is that I get a whole page back while requesting
> > via the autocompleter.
> I don't get that sentence.

It is very hot today :) Brains do not always work well under such
conditions. I meant that I was able to trigger an ajax event with
the broken combination of scripts. But what I got back from the
ajax request wasn't a unordered list like in the autocompleter
sample but a complete page where the component is a part of.

Btw. seaside and scriptaculous are coupled rather tightly. wouldn't
it be a good idea to have differenct versions for scriptaculous as 
well? I mean scriptaculous2.7b1 and scriptaculus2.8a1.



More information about the Seaside mailing list