[Zope] object paths with dtml-var -- newbie

Dieter Maurer dieter@handshake.de
Wed, 14 Aug 2002 20:30:45 +0200


Danny Morgan writes:
 > for what it's worth,  <dtml-var expr="images.mds_logo"> works, but
 > 
 > neither <dtml-var expr="images.mds_logo()"> nor  <dtml-var 
 > expr="images.mds_logo(_, REQUEST)"> do.
When you say, something does not work, you should be more precise.
What happens? Wrong result, exception?

The name "mds_logo" suggests, it is an "Image" object.
Image objects are not callable. This means, you cannot use
"mds_logo(...)".

What is your aim?


Dieter