• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange behaviour of AjaxSortableList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange behaviour of AjaxSortableList


  • Subject: Re: Strange behaviour of AjaxSortableList
  • From: Helmut Schottmüller <email@hidden>
  • Date: Tue, 15 Apr 2008 11:32:56 +0200

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@hidden>:
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

--
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Strange behaviour of AjaxSortableList (From: Helmut Schottmüller <email@hidden>)
 >Re: Strange behaviour of AjaxSortableList (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: Strange behaviour of AjaxSortableList
  • Next by Date: Re: Migrating a WOLips/Eclipse enviroment to another user and/or computer
  • Previous by thread: Re: Strange behaviour of AjaxSortableList
  • Next by thread: Re: Strange behaviour of AjaxSortableList
  • Index(es):
    • Date
    • Thread