[Zope] Seeing a DTML-LET from a Python Script?
Jean Jordaan
jean@upfrontsystems.co.za
Thu, 28 Feb 2002 14:50:15 +0200
Hi all
Quick question: if I do this:
<dtml-let somevariable="'whatever'">
<dtml-var pythonScript>
</dtml-let>
how do I get at the value of somevariable in pythonScript? I'd assume
by binding the namespace _ and doing _['something'] but that raises a
key-error ..
The nearest info I could find on this in a websearch is:
http://www.zope-forum.org/forum/viewthread.php?FID=24&TID=519
but I couldn't quite figure that out ..
TIA,
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za