Hi Daniele,

I don't perform any expensive actions on the server side. You can force this behaviour if you take the Wonder Ajax Examples and surround one of the sortable lists with an AjaxUpdateContainer. Then call the update function of the update container on onUpdate of the AjaxSortableList.
Exactly the same...

I also added an action to the AjaxUpdateContainer and it is fired instantly, so at least expensive server side code isn't the problem.

I have AjaxUpdateLinks in my sortable list elements to delete single list elements. Even the links are working instantly after the position has been changed. Maybe the surrounding update container does something bad to the drag & drop initialization...

Regards,

Helmut

Am 15.04.2008 um 11:20 schrieb Daniele Corti:


2008/4/15 Helmut Schottmüller <[EMAIL PROTECTED]>:
Hi,

I created an AjaxSortableList which I enclosed with an AjaxUpdateContainer (id="xyz"). To the onUpdate binding of the AjaxSortableList I bound "xyzUpdate()" to update the parent update container after the list has been changed.

The strange behaviour is that when I change the position of one of the list elements the drag & drop isn't available for about 8 seconds. After that period drag & drop is possible again.

I am totally clueless.

It seems to me that, when you cannot drag element, is the time when your app is dealing with Ajax, so the javascript for Draggable don't run until the browser ends the request. Check with firebugs if the Ajax Request is running while those Eight seconds, if so, you have to perform some quicker actions server side.


Regards,

Helmut
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com

This email sent to [EMAIL PROTECTED]



--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to