[Seaside] What to write in the "onDrop:" ?
Richard.Durr at gmail.com
Thu Aug 13 15:21:01 UTC 2009
Happy to help ^^
I think it is always used like that since the comment says:
"Register aBlock as a secondary callback. anObject is interpreted as
server and passed into aBlock. Multiple secondary callbacks can be
defined with one receiver."
Am 13.08.2009 um 15:59 schrieb Sebastian Nozzi:
> Hello Richard,
> this is great! Thanks for your answer. I'll try it out as soon as I
> I didn't consider the approach to do something on the draggable,
> instead of the droppable...
> Also, I might have misunderstood or overseen how to use
> Is it always used like that? (the value part "extracting" or executing
> Thanks again,
> 2009/8/13 Richard.Durr at gmail.com <Richard.Durr at gmail.com>:
>> Hey Sebastian,
>> in my Bachelor Thesis, I do something like that this way:
>> html div id: myID;
>> onMouseOver: (html draggable
>> onEnd: (html request
>> callback: [:value |
>> self updatePositionOf: aPassenger with: value.]
>> (html element id: myID) positionedOffset));
>> where value is a String in the form (x,y).
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside