+1 I also frequently encounter this "issue" -- Best regards Lukasz Wojciechowski
New Generation Software +48 602 214 629 http://www.ngsoft.pl 2009/10/27 Richtermeister <nex...@gmail.com>: > > +up, > > I regularly overwrite this method just to change the flash messages > from "item" to the proper object name or redirect to a different page > altogether. > Seems a good idea to break this functionality apart. > > Daniel > > > On Oct 27, 9:12 am, ashton <ahonn...@gmail.com> wrote: >> Hi, apologies if this goes somewhere else. >> >> The processForm method generated buy the admin gen binds, checks for >> validity, saves and then redirects to the appropriate page. However, >> this makes the processForm method unavailable to ajax actions that >> want to return JSON. Maybe the save/redir should be in different >> methods? Or it could only redirect if isXmlHttpRequest() is true? >> >> ashton > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---