var $helpers = array( ); // Notice it is plural - you have $helper

On May 16, 7:10 am, Carachi <[email protected]> wrote:
> Hi,
> I try to use the Ajax Helper to receive data for an html select and to
> send the form to a page, but I have this problem, in the view compare:
> Notice (8): Undefined variable: Ajax [APP/views/control/index.ctp,
> line 34]
> or
> Notice (8): Undefined property: View::$Ajax [APP/views/control/
> index.ctp, line 34]
>
> In my controller I add
>         var $helper = array('Html','Xml','Ajax','Javascript');
> and in the view of this page I add
>
>         $ajax->submit(....
> or
>         $this->ajax->submit(
>
> Someone can help me??
> Thank you

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to