Thanks. Got first option by myself after some time :) btw. web2py is the simpliest framework I've ever seen! I've got my app works after 3 days with ZERO python knowledge! :)
On 15 июл, 19:38, mdipierro <mdipie...@cs.depaul.edu> wrote: > You have 3 options: > - Simple option: > make sure query to build the the table is generated after > form.accept > - Simpler option: > redirect(URL(r=request,args=request.args)) after form.accept > - Complex but faster solution: > use ajax to render the form. Will re1uire lots of changes in your > code. > > On Jul 15, 9:53 am, DenisBY <denis....@gmail.com> wrote: > > > I'm sure this question was asked but couln't find it. > > I have form like this (it looks like table): > > a | a | a | ... > > ----------------- > > b | b | b | ... > > ----------------- > > c | c | c | ... > > ---------------- > > _ | _ | _ | _ > > [submit] > > > where b and c is old records and _ is the form where I can enter new > > data. > > after entering data end pressing submit 'flash' inform me that > > everything is ok but I can't see my new record. I have to reload page > > (btw only by pressing enter at address bar, else firefox asks me to > > resend form) > > how to see my new record w/o reloading page (ajax maybe) or how to > > reload page? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---