[web2py] Re: How to redirect within a method that was invoked via Ajax?! Problem with wrong method being called.

2013-01-22 Thread c0nstin3
redirect(location) > > With client_side = True you are handling the redirect client-side and not > server side. This is designed to work over ajax requests. > > > On Monday, 21 January 2013 12:58:03 UTC-6, c0nstin3 wrote: >> >> Hi everyone, >> >> >>

[web2py] How to redirect within a method that was invoked via Ajax?! Problem with wrong method being called.

2013-01-21 Thread c0nstin3
Hi everyone, Could someone please help me with a problem I'm having with the *amazing*web2py framework? This is hard to explain, so please bear with me, I'm still new to web development :) I seem to have a problem with using redirect in a function that is called via ajax. I thought

[web2py] Re: Twitter Boostrap Modal form containing SQLForm

2012-10-22 Thread c0nstin3
Hi, Thanks very much for your great help and code slice... it works perfectly! * Brilliant!* You [*and web2py*] rock, dude! :) Have a great day, Kind Regards Chris On Monday, 22 October 2012 00:10:15 UTC+1, villas wrote: > > I think this is such common requirement, but took me a long time to g

[web2py] Twitter Boostrap Modal form containing SQLForm

2012-10-21 Thread c0nstin3
Hi, I'm trying to show show a modal window containing a SQLFORM. I'm using the standard twitter bootstap. If the SQLFORM passes the validation that everything is fine (form closes, processed OK, db updated etc). However, if validation fails then the modal window still closes. I have to re-open