[Zope] dtml expr question
Florian Konnertz
florian.konnertz@web.de
Fri, 31 Jan 2003 18:00:33 +0100
Hello all,
I'm working on a editPropertyForm on the editform of ZWiki. Please help
me with this issue:
Why can i do:
<dtml-var "getPropertyType(x_sequence_key)">
but not:
<dtml-let ptype="getPropertyType(x_sequence_key)">
</dtml-let>
I get:
File /usr/local/Zope-2.5.0-src/lib/python/DocumentTemplate/DT_In.py,
line 695, in renderwob
(Object: propertyItems)
File /usr/local/Zope-2.5.0-src/lib/python/DocumentTemplate/DT_Let.py,
line 76, in render
(Object: ptype="getPropertyType(x_sequence_key)")
KeyError
I looked for similar examples and it looks always like < dtml-let
variable="method(blah)" > - How can this be done?
Thanks,
Florian
--
Florian Konnertz --- http://www.florian-konnertz.de
-------------------------------------------------------
http://openspirit.homelinux.net/noowiki/FrontPage
Improved ZWiki about all topics, especially consciousness research
and wisdom traditions
http://www.openmovie.org multimedia project
Have a nice day!