yes, $this->Comment->create()

and look at your controller class name

it should be: "CommentsController"
you have: "CommentsComtroller"

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/4/25 Jeremy Burns | Class Outfit <jeremybu...@classoutfit.com>

> Try $this->Comment->create() rather than $comment->create()
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.com
> http://www.classoutfit.com
>
> On 25 Apr 2011, at 07:15, taq wrote:
>
> > i'm student and now i study cakephp with begining in cakephp from
> > novice to professional
> >
> > and i practice follow example in book
> >
> > i have problem in ajax example . i create form to recive comment and
> > update with ajax
> >
> > but i click submit buttom no event
> >
> > commentcontroller
> >
> > http://upic.me/i/df/commentcontroller.jpg
> >
> > view
> >
> > http://upic.me/i/5w/2view.jpg
> >
> > code view
> >
> > http://upic.me/i/m9/viewcode.jpg
> >
> > --
> > 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
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
> --
> 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
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to