On 22.11.2010, at 19:30, Jordi Boggiano wrote: > On Mon, Nov 22, 2010 at 7:27 PM, Lukas Kahwe Smith <[email protected]> > wrote: >> ah .. i thought it renders the templates before it it renders the layout. or >> does it start with the layout and then works itself back up the chain? > > It flattens the whole extends tree at compile time, then at runtime, > it starts at the top of the layout, and works down, rendering blocks > as they come. That also means things like {% stylesheet "foo.css" %}
So for the use case of where you want to display most flash messages inside the layout, but a few else where, one would have to blacklist these flash keys inside the layout. hmm not nice .. but maybe there isnt a better way? then again i am not sure how frequent that use case really is. regards, Lukas Kahwe Smith [email protected] -- 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 [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-devs?hl=en
