setFlash() requires the whole page to reload to work, you cant fire
off an AJAX call and expect some random flash message to appear in the
page.

On Jun 16, 7:48 pm, Cruisine <[email protected]> wrote:
> hi guys,recently i've been using ajax submit to save the data into
> database...but whenever i use $ajax->submit(), setFlash doesn't appear
> on my page.....i'm so curious what's wrong with the setFlash...and
> it'll terrible since i can't show to the user whether the data have
> already saved or not........
> need ur help soon..thanks...

-- 
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