I've since changed <? echo $ajax=>sortable.create('lists',
array('tag'=>'li')); ?>to
<? echo $ajax->sortable('lists', array('tag'=>'li')); ?>

The
list still appears in the view, but without any ajax-ish sorting
dragging or dropping about.
Note: I'm not concerned with saving the results of the sorting yet.

S

On Sun, Jul 12, 2009 at 5:51 PM, steve <[email protected]> wrote:

>
> Is this not suffucient to establish at least the ajax sorting:
> <!-- In the view -->
> <? echo $javascript->link(array('prototype', 'scriptaculous')); ?>
>
> <ul id="lists">
> <li id="list_1">A</li>
> <li id="list_2">B</li>
> </ul>
> <? echo $ajax=>sortable.create('lists', array('tag'=>'li')); ?>
>
> <!-- In the Controller -->
> var $helpers = array('Html','Form','Ajax','Javascript');
>
>
> Sorry for the extreme noob Q, but google is awash in pre 1.2 results
> for getting this to work (in my mind).
>
> S
>
> >
>


-- 
Steve Mallett
inevitable.cc (the) Inevitable Corp.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to