Re: Ajax Sortable & Droppable together?
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