[Templates] Is there a way to disable method calling in templates?
[prev]
[thread]
[next]
[Date index for 2004/05/06]
Hello there,
I've a problem with methods in templates.
For example in my template I've the following line:
[% varref.something %]
'something' can be a property of varref. It also can be a method, if varref
is an instance of a class. If it is an instance of a class and 'something'
is a method in this class, the method will be executed by default. Only, if
there is no method, the property will be used to parse into the template.
How can I avoid, that Template-Toolkit tries to call methods in templates?
best regards
niak
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] Is there a way to disable method calling in templates?
Niak 21:07 on 06 May 2004
|