Re: Re: calling ZPT from script python - problem
Dieter Maurer <[email protected]> Tue, 21 Jun 2005 19:57:15 +0200
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
Kenneth Gonsalves wrote at 2005-6-21 09:08 +0530:
> ...
>the variable in question is 'compname' which is either
>request['compname'] or options['compname'] depending on how the ZPT
>is called (from web it goes to 'request' and from script in goes to
>'options')
Thus, you normalize like this
... tal:define="
...
compname options/compname | request/compname
...
"
and then use "compname"...
--
Dieter