Hi, you can set the view to a partial. return $this->renderPartial(...);
Why do you want to set a template without success in the name? If you want to return a full template, it has to be called this way, it's part of Symfony conventions. On 7 juil, 16:31, Steve Sanyal <[email protected]> wrote: > Hi, > > It seems if I call setTemplate, the view is always set to "Success". > I'd like to be able to set this to something other than success. > > eg: In my templates I have: > > applyReservationIneligible.php > > But if I call: > > $this->setTemplate('applyReservationIneligible'); > > This always fails. The action sends this to: > > applyReservationIneligibleSuccess. > > Is there a way around this? > > Thanks, > Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
