[web2py] Re: bug fix - invalid form traps if ajax redirect via web2py_ajax_page

2011-02-18 Thread Marc Smith
Doing what Carlos describes above also fixes my LOAD + component + form issue described here: http://groups.google.com/group/web2py/browse_thread/thread/378d78ab4a47ed6d/41de5a2254a07508 --Marc On Feb 15, 2:22 pm, Jonathan Lundell jlund...@pobox.com wrote: On Feb 15, 2011, at 9:57 AM, Carlos

[web2py] Re: bug fix - invalid form traps if ajax redirect via web2py_ajax_page

2011-02-15 Thread Carlos
One change: use the following instead for the 'web2py-url' header setting: response.headers['web2py-url'] = request.env.path_info + '?' + request.env.query_string My original post above (using request.url) was causing the query string to be lost after the redirection. Regards, Carlos

Re: [web2py] Re: bug fix - invalid form traps if ajax redirect via web2py_ajax_page

2011-02-15 Thread Jonathan Lundell
On Feb 15, 2011, at 9:57 AM, Carlos wrote: One change: use the following instead for the 'web2py-url' header setting: response.headers['web2py-url'] = request.env.path_info + '?' + request.env.query_string My original post above (using request.url) was causing the query string to be