a normal form reloads the page entirely (as if you push f5). If you're fiddling with ajax, then of course the entire page is not reloaded, but if you need that kind of functionality switch to a normal form handling.
Il giorno lunedì 27 maggio 2013 16:07:38 UTC+2, webpypy ha scritto: > > Hi, > > I am having similar situation. > > It seems that after submission, "the menu" is not refreshed. > > My question is " what is the command for refreshing the menu"? the same > effect of F5 > > regards, > > Ashraf > > > On Wednesday, March 20, 2013 11:49:26 AM UTC+3, Niphlod wrote: >> >> if you're not using load the page refreshes entirely after a submission. >> the behaviour now is to redirect to #, so you see the "switch" from >> /foo/1 to /foo/1# . >> Inspect it with your preferred "developers tools", you'll see a POST and >> a redirect >> >> On Wednesday, March 20, 2013 7:10:01 AM UTC+1, Alec Taylor wrote: >>> >>> (I'm using SQLFORM) >>> >>> Currently all I get is my `response.flash` message and the URL changes >>> from: "http://localhost/foo/1" to "http://localhost/foo/1#". >>> >>> Instead I want the whole page to refresh so the changes the user made >>> propagates. >>> >>> I do not want to use LOAD. >>> >>> How do I refresh the page on successful form submission? >>> >>> Thanks for all suggestions, >>> >>> Alec Taylor >>> >> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

