• 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 Sortable & Droppable together?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ajax Sortable & Droppable together?


  • Subject: Re: Ajax Sortable & Droppable together?
  • From: Samuel Pelletier <email@hidden>
  • Date: Tue, 03 Sep 2013 14:35:41 -0400

Ken,

I do not have an example but the cool thing is you do not need to know javascript to use these. Check the AjaxExample project in the wonder source.

You create AjaxDroppable and AjaxDraggable  (they create div html elements by default), bind them to actions and objects. On drop, the action and called with the objects bounds as expected.

You will only need to dig into Prototype and Scriptaculous doc if you want to fine tune behaviour like filter acceptable drop targets.

Samuel

Le 2013-08-30 à 16:46, Ken Anderson <email@hidden> a écrit :

> Thanks Samuel.  Would you have an example?  I have to say, I'm no javascript expert…
>
>
> On Aug 30, 2013, at 2:05 PM, Samuel Pelletier <email@hidden> wrote:
>
>> Ken,
>>
>> You can create multiple droppable instance and even put droppable inside droppable for a more precise location. You can have a draggable inside a droppable too.
>>
>> I created a truck dispatch application with those where you can dispatch a job to a truck (the created destination added at route end), after a specific destination and reorder the truck destinations.
>>
>> Samuel
>>
>> Le 2013-08-28 à 22:43, Ken Anderson <email@hidden> a écrit :
>>
>>> Colleagues,
>>>
>>> Using the Ajax stuff in Wonder, I would like to have the ability to drag from the source repetition and drop at a specific point in the droppable region.  This is pretty much having sortable and droppable in the same area.  Has anyone done this?  If not, does anyone have a recommended approach?
>>>
>>> Thanks,
>>> Ken
>>> _______________________________________________
>>> 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
>>
>


 _______________________________________________
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 Sortable & Droppable together?
      • From: Ken Anderson <email@hidden>
  • Prev by Date: Re: WOWODC 2014: April 12 to 14
  • Next by Date: Re: Ajax Sortable & Droppable together?
  • Previous by thread: Re: WOWODC 2014: April 12 to 14
  • Next by thread: Re: Ajax Sortable & Droppable together?
  • Index(es):
    • Date
    • Thread