> > CODE:
> > When I call validate/index?par1=xxx
> > fill a non-number into the second text-field and press submit, I get
> > an exception
> > on the second line of index.
>
> So what is the problem? �...@validate is eating parameters so that they
> no longer appear in ``requests.params`` or
> ``request.environ['webob._parsed_post_vars'][0]`` (whatever the latter
> is)?

First of all, I would like to know, whether my idea that request.params
should be there is correct.

I added some debug prints and found out that the request.params,
as well as request.POST get cleared after setting
request.environ['REQUEST_METHOD']
        if errors:
            ....
            request.environ['REQUEST_METHOD'] = 'GET'

They stay in request.environ['webob._parsed_post_vars'][0] though.
--
Petr

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to