Answer by myself ;-)
So... Problem is so easy.:
in view write string:
<? echo $ajax->sortable ("firstlist",array('url' => 'changer')) ?>
(look code in top of topic)
and in controller, use function changer like:
function changer () {
$pere = $_POST['firstlist'];
$this->Session->write('list',$pere);
}
or some else. And have in $pere - array of element, where we can get
order of changing list...
It's sooo easy.
P.S. use session store - is not necessary ;-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---