Re: [Zope] Problem with dtml-with
22 Jul
2002
22 Jul
'02
12:32 p.m.
On Monday 22 Jul 2002 1:07 pm, Jerome Alet wrote:
On Mon, Jul 22, 2002 at 01:03:37PM +0100, Toby Dickenson wrote:
On Monday 22 Jul 2002 12:50 pm, Jerome Alet wrote:
<dtml-with MyInstance> <dtml-var method> </dtml-with> Doesn't work.
In fact instead of searching "method" in MyInstance in searches it in its container, as if the <dtml-with> didn't push MyInstance's namespace.
Is MyInstance callable?
its __call__ method renders it as HTML, if that's what you asked.
yes, thats the cause.
try:
<dtml-with "MyInstance">
This works. Thanks.
What solution could I provide to this problem in order to not need the quotes ?
remove the __call__
8660
Age (days ago)
8660
Last active (days ago)
0 comments
1 participants
participants (1)
-
Toby Dickenson