Re: [web2py] webform actions

2010-02-27 Thread Jonathan Lundell
On Feb 27, 2010, at 4:03 PM, Thadeus Burgess wrote: > If your running the latest version of web2py, look at > controllers/appadmin.py in ccache function. It defines a form with > three buttons, (one toc lear ram, one to clear disk, and one to clear > both). Click the different submit button execut

Re: [web2py] webform actions

2010-02-27 Thread Thadeus Burgess
If your running the latest version of web2py, look at controllers/appadmin.py in ccache function. It defines a form with three buttons, (one toc lear ram, one to clear disk, and one to clear both). Click the different submit button executes the appropriate function. -Thadeus On Sat, Feb 27, 2

Re: [web2py] webform actions

2010-02-27 Thread Jonathan Lundell
On Feb 27, 2010, at 3:00 PM, Tiago Almeida wrote: > Don't know why functions reset, reset_all are not called but they reference a > "form" variable which is not in scope? Do you have any global "form"? The logic below can't work, for lots of reasons. One is the one Tiago mentions. Another is th

Re: [web2py] webform actions

2010-02-27 Thread Tiago Almeida
Don't know why functions reset, reset_all are not called but they reference a "form" variable which is not in scope? Do you have any global "form"? Regards, Tiago -- On Sat, Feb 27, 2010 at 10:15 PM, Tomas Pelka wrote: > Hi all, > > have some troubles with web form which have more than one butt