[Seaside] Drag and drop: how do you nest it?
renggli at gmail.com
Wed Nov 29 17:47:40 UTC 2006
> I have a widget that presents an OrderedCollection of other widgets,
> allowing you to reorder it. I have attached a file-out of this particular
> class. I would be happy if it made it into Seaside. :-) (How does one go
> about getting write access to Monticello, anyway? Is there a code review
> process? Approval process?)
You can just commit to SqueakSource, register an account and publish
your changes. The review process happens more or less automatically,
this is one thing that works very well in the Seaside project. Changes
or submissions being questionable simply don't get merged with the
latest version right away, Monticello makes it really easy to do this
any time later on.
> I have discovered that when I have a reorderable list with an element that
> presents another reorderable list, like so:
> 1. A big item 1.
> 1. A little item 1.
> 1. A little item 2.
> 2. A big item 2.
> ...the little items are reorderable, and mousedown behavior on the big items
> just causes what looks like a selection of the entire "box" in which the big
> items are contained. This is observed in Firefox 1.5 .
Please read the last chapter 'Beware of Nested Droppables' in the
> Is this a bug in Seaside, or Scriptaculous, or am I doing something wrong?
> Has anyone else had success implementing the effect I'm looking for?
of script.aculo.us. What I found was that draggables, droppables, and
especially sortables do not work reliable if being nested. So it is
that can handle nesting properly.
More information about the Seaside