Actually you don't have to specify the onUpdate argument... if you put
just "url" => "order" (assuming the view is part of sections
controller) it has to work.

look at my complete view code:
[code]
<tbody id="sortableitems">
    <?php foreach ($rows as $row):?>
    <tr id="item_<?php echo $row['Video']['id']?>" class="item"
style="cursor:move;">
        <td><?php echo $row['Video']['description']; ?></td>
    </tr>
    <?php endforeach;?>
</tbody>
<?php
    echo $ajax->sortable('sortableitems', array('tag'=>'tr',
'url'=>'Order'));
?>
[/code]

The only thing that change is the tag argument, because "li" is the
default.
(As a side note: the sortable don't work pretty well under IE..)


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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