Thank you, Stof! As excepted – but would this work without ESI caching?
If not, what's the preferred way to implement such requirement: 1) the sub-controller makes some business logic and returns it's template 2) this template has to override some blocks of main layout Fabian On Aug 19, 12:21 pm, Christophe COEVOET <s...@notk.org> wrote: > Le 19/08/2011 12:19, Fabian Spillner a crit :> @Marc: > > > Thank you for your consideration! I'm talking about Symfony2. > > > I meant, with Symfony2 you can embed controller in the template: > > > <div id="recentArticles"> > > {% render "AcmeArticleBundle:Article:recentArticles" with {'max': > > 30} %} > > </div> > > > And this controller overrides some blocks of the main layout. For > > example special javascript block at the bottom. > > A subrequest cannot overwrite a block of the main request as it does not > know anything about it. This is even easier to understand when the > subrequest is delayed using ESI: the main request is completed before > starting the subrequest > > -- > Christophe | Stof -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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