[ZPT] Re: calling ZPT from script python - problem

Kenneth Gonsalves lawgon at thenilgiris.com
Thu Jun 23 08:33:45 EDT 2005


On Wednesday 22 Jun 2005 8:19 am, Kenneth Gonsalves wrote:

> i solved it like this:
>
> python:request.set('compname',options['compname'])
> and then accessed it as
> request['compname']
>
> from what i can see, the end script called is a recursive script
> and for some reason, it only works if the variable comes from
> 'request' and not from 'options'. I am going to make the simplest
> example of a recursive script and see if this hypothesis is
> correct. will revert

sorry about this red herring - the problem was that i had 
inadvertently chose 'redirect_to' instead of 'traverse_to' in my 
controller page template, which of course, zapped the options. 20 
hours of programming time wasted!

-- 
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!


More information about the ZPT mailing list