• 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: Ajax SortableList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ajax SortableList


  • Subject: Re: Ajax SortableList
  • From: Mike Schrag <email@hidden>
  • Date: Sun, 4 Mar 2007 21:36:43 -0500

Sounds cool ... Dealing with dragging between two lists was kind of tricky (as you found out :) ), so I just ignored it at the time. Is your modification a generic fix that could be rolled into Wonder?

ms

On Mar 4, 2007, at 8:31 PM, John Larson wrote:

Just as FYI, not a problem . . .

I recently finished a project management module and used the Ajax SortableList to allow users to change task priorities, etc. I also found it very useful to allow the users to organize their tasks into different statuses by dragging the task items to other lists (new, active, on-hold, completed, etc.). When an item is moved from list A to list B, the update to list A works fine, but the update to list B doesn't work because it can't find the "new" item in list B when it goes to set list B. To get around this I added a binding called "searchList" which is the union of A and B (but can be as many lists as you want). I then modified Mike's (?) code to look for searchList and use it as the source for the objects if it exists in place of the "list" binding.

Works perfect and makes the implementation really slick. (I have a style definition #completedItems > li {text-decoration:line- through;} so that the item gets crossed off when it is dropped in the completed list. ;-)

John




_______________________________________________
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


  • Follow-Ups:
    • Re: Ajax SortableList
      • From: John Larson <email@hidden>
References: 
 >Ajax SortableList (From: John Larson <email@hidden>)

  • Prev by Date: Ajax SortableList
  • Next by Date: Re: what to do with the <return> key
  • Previous by thread: Ajax SortableList
  • Next by thread: Re: Ajax SortableList
  • Index(es):
    • Date
    • Thread