Why does calling python scripts with and without quotes have a different resulting namespace ?
In DTML, when I call a script (let's call is S) using <dtml-var S> the script receives the DTML namespace as "_". However, when I call it using <dtml-var "S()"> the script seems to getting an empty namespace. Aren't these two identical ? Russell Fine
No, try <dtml-var "S(None,_)">. Search google for Dieters book, zope and namespace and that should get you started in the right direction. On Thursday 15 April 2004 1:30 pm, Russell Fine wrote:
In DTML, when I call a script (let's call is S) using <dtml-var S> the script receives the DTML namespace as "_". However, when I call it using <dtml-var "S()"> the script seems to getting an empty namespace. Aren't these two identical ?
Russell Fine
-- Chris Kratz Systems Analyst/Programmer VistaShare LLC www.vistashare.com
participants (2)
-
Chris Kratz -
Russell Fine