Yes I know... I'm a little stupid... :P
My problem was the ajax view, I forgot to put the ajax call...
Now it works ok! :D
ajax_actualize_version.thtml
-----------------------------------------
<?php echo $ajax->div('ajax_serialnumber_version_id'); ?>
<? /*echo $html->selectTag('SerialNumber/version_id', $versionArray,
null, array('id' => 'serialnumber_version_id',)) */?>
<? echo
$html->selectTag('SerialNumber/version_id',$versionArray,null,array('id'
=> 'serialnumber_version_id','onchange' => "new
Ajax.Updater('ajax_serialnumber_release_id','/panlab/index.php/serial_numbers/ajax_actualize_release',
{asynchronous:true, evalScripts:true,
parameters:Form.Element.serialize('serialnumber_version_id'),
requestHeaders:['X-Update', 'ajax_serialnumber_release_id']})"))
?>
<?php echo $ajax->divEnd('ajax_serialnumber_version_id'); ?>
Any way, if anybody knows a better way to do it, please say it! :D
Thanks a lot!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---