Re: [web2py] possible bug in LOAD with ajax=false

2011-09-27 Thread Richard Vézina
Oups, my memory failed ;-) Richard On Tue, Sep 27, 2011 at 11:11 AM, Anthony wrote: > Actually, it's the opposite -- setting ajax_trap is only relevant when > ajax=False (when ajax=True, ajax_trap is ignored because forms are > automatically submitted via ajax). ajax_trap is for cases when yo

Re: [web2py] possible bug in LOAD with ajax=false

2011-09-27 Thread Anthony
Actually, it's the opposite -- setting ajax_trap is only relevant when ajax=False (when ajax=True, ajax_trap is ignored because forms are automatically submitted via ajax). ajax_trap is for cases when you don't want the component to use ajax to load, but you do want any forms within the compone

Re: [web2py] possible bug in LOAD with ajax=false

2011-09-27 Thread Richard Vézina
If I remember, you need ajax true for ajaxtrap to works... Both parameters are not working independently... On old web2py version it append to me that both were having different behavior depending if ajax = true or false, but now it seems that ajaxtrap only trigger on when you have ajax = true. It

[web2py] possible bug in LOAD with ajax=false

2011-09-24 Thread apple
When call singleview and submit the form it should print singleview, edit, edit. However it prints singleview, edit, singleview, edit. Why is the submit not trapped and sent via ajax to the edit controller? controller. def edit(): print("edit") table=db["customer"] form=SQLFORM(ta