[web2py] Redirect url with jqmobile

2015-10-29 Thread John Habermann
Hi I have a web2py application that I have recently upgraded to version 2.12.3 and have been working on converting it to use the jqmobile plugin. I have run into an issue with form submission due to the url not changing when you submit a form so rather than load the page specified by the red

Re: [web2py] redirect(URL('second',vars=dict(name=name)))..could somebody explain this in details thank

2014-07-07 Thread Jonathan Lundell
On 6 Jul 2014, at 7:04 PM, Bazida wrote: > Hi, I was doing some tutorial from the web2py book, i ran into this following > code > > def first(): > form = SQLFORM.factory(Field('visitor_name', requires=IS_NOT_EMPTY())) > if form.process().accepted: > name = form.vars.visitor_name

[web2py] redirect(URL('second',vars=dict(name=name)))..could somebody explain this in details thank

2014-07-07 Thread Bazida
Hi, I was doing some tutorial from the web2py book, i ran into this following code def first(): form = SQLFORM.factory(Field('visitor_name', requires=IS_NOT_EMPTY())) if form.process().accepted: name = form.vars.visitor_name redirect(URL('second',vars=dict(name=name))) # i

[web2py] redirect(URL())

2011-06-25 Thread Kenneth
I tried to make a redirect to my frontpage and didn“t remember how to do that so I tried with redirect(URL()). That leads to a endless loop. In my case Firefox stopped after trying to redirect. Maybe web2py should detect this stupid programming error or is there a case when URL() is needed? Now I