[Seaside] "html sortable" + "html updater"

Jeremy Shute shutej at crazilocks.com
Thu Dec 14 00:06:17 UTC 2006


onSuccess needs to be onComplete, then everything works.  :-)

I may get the hang of this Scriptaculous stuff, yet.

Thanks for the help,

Jeremy



On 12/13/06, Jeremy Shute <shutej at crazilocks.com> wrote:
>
> Hmmm, I'm still having some difficulty with this new approach, as well.
>
> It seems that upon creating the new sortable object, with the same ID for
> the span it was connected to the first time, the list is again not
> reorderable.
>
> It seems that when the Sortable.create function is called in Javascript,
> it is BEFORE the updater changes the contents.  Altering
> SULibrary>>dDragDrop to alert the elements as they are visited, I see that
> there are one fewer list elements visited than should exist after pushing
> the button.  Only then does the redraw happen.
>
> How might I alter the order of events, such that the updater does its
> magic, THEN onSuccess is called, THEN the Sortable.create is created?
>
> Jeremy
>
>
>
> On 12/13/06, Lukas Renggli <renggli at gmail.com> wrote:
> >
> > > SUSortable>>destory
> > >
> > > ...is a typo for...
> > >
> > > SUSortable>>destroy
> > >
> > > :-)  Still acting on the rest of the advice.  Thanks!
> >
> > Yep, that's a common typo I usually do. There were (maybe still are) a
> > couple of those bugs in the code, be aware ;-)
> >
> > Now what I would like is a Lint rule doing some spell checking on
> > class-names, selector-names, category-names and strings within the
> > code of course.
> >
> > Lukas
> >
> > --
> > Lukas Renggli
> > http://www.lukas-renggli.ch
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20061213/f0284368/attachment.htm


More information about the Seaside mailing list