I'm not 100% if this is the problem, but since you're creating the form in /users/view, it's going to assume that you want to use the users controller since you did not specify a different controller. Again, I'm not 100% sure, but it might need to be something like this:
<?=$ajax->form('Notes', 'post', array('update'=>'notes', 'action'=>'addquick'));?> Jon Hinson On Jul 25, 9:49 am, Elmo <[EMAIL PROTECTED]> wrote: > From the test case(s) for the $ajax->form() helper, the book was wrong > (or at least according to the latest RC2). The correct syntax is: > <?php > // WRONG: $ajax->form('/notes/addquick', 'post', > array('update'=>'notes')); > // RIGHT: (Note: I still don't know what the 'showForm' is for) > echo $ajax->form('showForm', 'post', > array('model' => 'Note', > 'url' => array('action'=> 'addquick', > 'controller' => 'notes'), > 'update' => 'notes_div')); > ?> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---