Hi,

I have a bit of a problem with the special variables in the sense that 
they happen to use names that I'd would like to. For example, in my 
application, using 'component', 'component.name' would be very fitting 
since my applications deals with such stuff and allows users to 
arbitrarily pick data for printout by supplying a template.

Now, I realize it'd be impossible to change this willy-nilly, but is 
there, or would it be possible to request of the toolkit to place such 
special variables in a separate namespace, e.g. some cfg option 
'SPECIAL_VAR_NS => "foo"' and so access them like [%foo.component.name%].

It would free the names for my use, and in my docs to users I would make 
the proper notes about 'for this app, the TT documented special vars 
will be found as bla bla bla'.

??

TIA,

ken1

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to