If you are following the blog example, here's what should happen:
You click the submit button on the add view
It runs the code in your add function in your controller
If the save within the add function works, you are directed to the index view (although you can change that)
If the save fails, it goes back to the add view showing validation errors
Is this what is happening for you?
Jeremy Burns
jeremyburns@me.com
On 28 May 2010, at 12:39, vikasphplernter wrote:
> hello All,
> I am very new in cake php and I had read the all doc and the tutorial
> of it.As well as i implemented the one insert the blog form. But the
> problem once I click the submit button it has the process but its not
> come on the same page either once i give want to redirect on the
> another page it will process and send the error that page not found.
> So please help me and if u have any good way to learn the cake php
> then please provide the all links and docs.Its very urgent.
>
> Thanking you
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> 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
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment