Hey pihentagy, by redirecting to the referrer I assume the user will end up at the list view, right? The reason you are not seeing your flash message there is that it simply is not displayed in the list view.
Have a look at both _edit_message.php and _list_message.php in your admin generator template. If you want to show the flash message in the list view as well you should be able to just copy over the relevant parts form _edit_message.php. Cheers, Georg pihentagy schrieb: > Hi all! > > Can I customise the error handling of the admin generator's edit page? > Is it possible to handle errors in the edit page of the admin > generator interface? > The situation can be the following: > 2 admins. Admin no 1 opens a record for editing. Admin no 2 deletes > the record. Admin no 1 gets a 404(?) > I'd like to inform him/her and redirect to the referrer. > > I peeked into the code, and tried in another situation (custom > controller) > $this->setFlash('notice', 'Minősítés tárolva'); > in the controller, but has no effect on the next page (with redirect). > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---