Ok, I didn't know that. Thanks. Anyway, even after updating web2py.js in my app, the redirect is not working. I think my LOAD component:
{%=LOAD(c='quick_setup', f='quick_setup_form', ajax=True, ajax_trap=True )%} Is being replaced by the following markup during the redirect: <script type="text/javascript"><!-- web2py_component('/quick_setup_form','c209011198118'); //--></script><div id="c209011198118"></div> But nothing is happening (empty space shown in the browser). On Wednesday, August 29, 2012 5:44:40 PM UTC+2, Anthony wrote: > > Updating trunk doesn't update the web2py.js file in your application (it's > in /applications/yourapp/static/js), so you have to update that file > manually. You can copy it from the welcome app (assuming you did update the > welcome app from trunk). > > Anthony > > On Wednesday, August 29, 2012 11:24:49 AM UTC-4, Daniel Gonzalez wrote: >> >> I am now running: >> >> b232a2d : mdipierro : 11 minutes ago : >> catchmissing winservice >> >> And the problem is still there. >> >> On Wednesday, August 29, 2012 4:24:49 PM UTC+2, Anthony wrote: >>> >>> Have you replaced your web2py.js with the one from trunk -- that is need >>> for the client_side=True to work? >>> >>> Anthony >>> >>> On Wednesday, August 29, 2012 9:28:02 AM UTC-4, Daniel Gonzalez wrote: >>>> >>>> I have tried with client_side: >>>> >>>> redirect(URL(r = request, c = 'signup', f = 'agent_redirect'),client_side >>>> = True) >>>> >>>> And this is my LOAD: >>>> >>>> {%=LOAD(c='quick_setup', f='quick_setup_form', ajax=True)%} >>>> >>>> With client_side=True the situation has changed (but not solved): the >>>> redirect is not performed, and instead of my form in the LOAD, I have an >>>> empty area. No redirect is performed. >>>> >>>> >>>> On Wednesday, August 29, 2012 3:16:58 PM UTC+2, Daniel Gonzalez wrote: >>>>> >>>>> (This is a repetition of an old question: >>>>> https://groups.google.com/d/topic/web2py/P3QdabVxGiE/discussion) >>>>> >>>>> Basically, I have a view with a LOAD. When the form is submitted, I >>>>> want the browser to be redirected to another page. But since the >>>>> redirection happens within the LOAD, the new page is displayed inside the >>>>> original layout, instead of the browser fetching the complete new page. >>>>> >>>>> How can I completely redirect within a LOAD? >>>>> >>>>> Thanks >>>>> Daniel >>>>> >>>> --