« Return to Thread: SUSortable - 2 lists - drag&drop lost after ajax re-render

SUSortable - 2 lists - drag&drop lost after ajax re-render

by Petr Fischer :: Rate this Message:

Reply to Author | View in Thread

Hi,

my next problem with SUSortable - I have two sortable lists. Both  
lists are completely re-rendered with ajax updaters on drop operation.  
Everything looks good, but "drag&drop" is inactive after ajax-rerender  
(I can't move list items by mouse anymore).

In Seaside Scriptaculous DEMO application on page "drag & drop" is  
example with two sortable lists - but there is a little difference -  
only the status paragraphs above lists are rerendered by ajax, not the  
lists itself.

I need to re-render whole lists on drop operations (due to some  
application logic conditions) and this is problem IMHO - maybe list  
items lost "mouse event connection" after afax re-render?
When is list-item connected to "mouse event" - on initial page load by  
javascript, right?

Sorry for English, is it understandable? Thanks, pf
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: SUSortable - 2 lists - drag&drop lost after ajax re-render

LightInTheBox - Buy quality products at wholesale price