Thanks for your reply Martin, but a redirect() would create a new http request (loading a whole new page) rather than an ajax call to update the content within my modal window. On normal pages I do use redirect () after a successful form post, it's just when working with ajax calls that I need to use setAction().
However, the setAction() call shouldn't be the cause of the issue as that's only for switching to the index view after a form has been submitted. Clicking on an add/edit link within the index view launches an onclick JavaScript event which runs ModalBox.show() along with a new ajax update request which I believed would have it's own variable state and as such should not be able to access the posted variables from the previous action/request. Paul. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
