23 Feb
2004
23 Feb
'04
7:34 p.m.
Is there anyway to access the global namespacem, keyword arguments passed to a DTMLFile when defined in a class, from a python method when the method is called from the DTML File, like this: class A(SomeBaseClass): b=DTMLFile('dtml/manage_this', globals(), my_variable=1) def c(self, client=None, REQUEST=None): """DocString""" <get my_variable> dtml/manage_this: <dtml-var std_header> <dtml-var c> <dtml-var std_footer> -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM Skype: colliberty