refresh from setFlash()

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

refresh from setFlash()


I'm trying to get a redirect working to refresh a page when a form in
it is sent. The page in question is imported into my main view using

I've put all sorts of combinations in my controller;
$this->Session->setFlash('saved'); then various redirects.

I have put update in the submit in an attempt to update the notes div.
$ajax->submit('Save', array('url' => 'add','update' => 'notes'));

I feel i'm pretty close but just missing something, it seem to be the
renderElement which is messing it up. Can anyone see where I might be
going wrong? (debug = 0)

Thanks for all your help,


 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at