On Tue, Jan 5, 2010 at 10:28 AM, Felix Gilcher
<[email protected]> wrote:
> Request attributes are global while template variables (which are in fact 
> ExecutionContainer attributes) are local to that container execution. A 
> request attribute set in in slot will be available to all slots that execute 
> later and to all templates that are rendered later while a template variable 
> set in a slot will only be available in that template. In general, use 
> template variables since that protects you from naming collisions.

Ah: thanks for this clarification.


> It is possible to use request attributes to handle javascript/css inclusions, 
> however, there are a few things to look out in combination with caching. The 
> general recommendation is to use response attributes from 1.1 on.

Can I ask what the things to look out for are?

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to