[Seaside] SUSortable - how to show "waitbox" on drop event

Petr Fischer petr.fischer at praguesoft.cz
Mon Apr 7 18:50:50 UTC 2008


onUpdate is ocupied by:

html updater
	id: 'someId';
	triggerSortable: aComponentIdString callback: [ :values | "resorting  
code" ]
	callback: [ :renderer | "sub-component rendering code" ]

I am little messed now - where is the place for my little javascript  
function call eg.: showWaitDIVBox();

Thanks, pf

On 7.4.2008, at 20:09, Gerhard Obermann wrote:
> Hi!
>
> You could use onStart: and onEnd: if you are using SUDraggable and  
> SUDroppable!
> For SUSortable you could only try:
> onUpdate: anObject
>  "Called when the drag ends and the Sortable's order is changed in  
> any way. When dragging from one Sortable to another, the callback is  
> called once on each Sortable."
>
> br
> Gerhard
>
>
>
> On Mon, Apr 7, 2008 at 5:27 PM, Petr Fischer <petr.fischer at praguesoft.cz 
> > wrote:
> Hi, is posible to show "lighboxed wait dialog" on drop event in  
> sortable?
> More generally - can I call my own javascript function on drop event  
> in sortable?
>
> Thanks for suggestion, pf
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list