15 Aug
2004
15 Aug
'04
8:24 p.m.
Pupeno wrote at 2004-8-13 18:47 -0300:
... manage_importForm = PageTemplateFile('www/manage_importForm', globals()) def manage_import(self, REQUEST): message="Work done" return self.manage_importForm(REQUEST)
Now, my question is, how do I get the variable message to be usable in the template www/manage_importForm ?
You pass it as argument. Passed in arguments are available via the predefined "options" variable. Read the ZPT specification for details... Note: usually, there is not need to pass "REQUEST" to a PageTemplate as it provides access to it via the predefined variable "request". -- Dieter