[Zope] Problem with Properties and Methods
Oleg Broytmann
phd@phd.russ.ru
Sat, 5 Feb 2000 17:31:36 +0000 (GMT)
On Sat, 5 Feb 2000, Borno Janekovic wrote:
> In a dtml-document I am calling a dtml-method from a subdirectory
> <dtml-var "directory.method()">
By calling the method without parameters you loose the namespace. There
are 2 (two) ways to overcome:
1. Use <dtml-with>:
<dtml-with directory>
<dtml-var method>
</dtml-with directory>
2. Pass the namespace:
<dtml-var "directory.method(_.None, _)">
Oleg.
----
Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.