Hi, 1) I have an action that calls getPresentationFor(). The main action is supposed to return JSON and so I use return $this->renderText() in the end. Obviously its not supposed to be using a layout, this all works fine until I call getPresentationFor(). Suddenly I get a layout even if I explicitly call setLayout(false) in either the originating action or in the action I call via getPresentationFor().
2) My second question is how I can disable any escaping strategy from inside an action. I have some actions that just generate content that is to be inserted into a database and that are called via getPresentationFor() and I want to make sure that these methods to not escape anything in the templates. regards, Lukas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
