28 Feb
2002
28 Feb
'02
1:28 p.m.
From: "Jean Jordaan" <jean@upfrontsystems.co.za>
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 ..
I''m not sure, but maybe it's accessible as context.somevariable? If not you could pass it to the pythonscript: <dtml-var "pythonscript(somevariable)"> Thats a cleaner and better way to do it anyway.