Re: [web2py] Re: help

2011-05-07 Thread ®å ßrown
honestly its not that i prefer to do that..i just didn't know how to do it.. i used JavaScript to call some functions in the controller but the functions are not goin to their default view.. so i figured i had to call it manually On Fri, May 6, 2011 at 9:39 PM, pbreit pbreitenb...@gmail.com

Re: [web2py] Re: help

2011-05-07 Thread ®å ßrown
thanks On Sat, May 7, 2011 at 1:36 PM, Anthony abasta...@gmail.com wrote: On Saturday, May 7, 2011 12:48:41 PM UTC-4, Resa wrote: success: function() { {{redirect(URL(f=mathgen))}}} The above is a Javascript function that will be called on the client side, so

Re: [web2py] Re: help

2011-05-07 Thread ®å ßrown
smiles.. thanks again On Sat, May 7, 2011 at 1:53 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: This line is wrong success: function() { {{redirect(URL(f=mathgen))}}} because everything inside {{}} is executed by the server BEFORE the page is rendered and returned to

Re: [web2py] Re: python/javascript

2011-05-06 Thread ®å ßrown
smiles... thats perfectly ok.. and i understand trust me i do lol.. -- Live Laugh Love || Strength, Courage and Wisdom

Re: [web2py] Re: help

2011-05-06 Thread ®å ßrown
i have thought about doin it in the controller..but i used a ajax jquery function to enter data in a database but right after that i wanted it to redirect to another page.. i tried calling the fuction of the default page that i wanted but it doesnt redirect it just gives a 200 instead of a

Re: [web2py] Re: passing from view to controller.. is this right?

2011-04-30 Thread ®å ßrown
what i am exactly trying to do is to send the data that i have processed from my javascript and send it to the controller function - insert_updatadb() function MGP(correct) { time_per_question=2 //2 seconds per question var numBer={{=request.vars.number}} / number of

Re: [web2py] Re: using janrain

2011-04-28 Thread ®å ßrown
hey... i fixed mine.. 1. i find janrain works horribly on windows (so i switched and used it in linux instead) also i found that that error was basically some serious proxy issues.. so i fixed it and janrain works fine now.. On Wed, Apr 27, 2011 at 6:28 PM, Allan Daemon rea@gmail.com wrote:

Re: [web2py] Re: using janrain

2011-04-28 Thread ®å ßrown
smiles... by chance do u know how to fix this problem if there is anything wrong with it: if db.Matworksheetdb.email==auth.user.email: if(db.Matworksheeetdb.email==auth.user.email)(db.Matworksheeetdb.mgpsession.mpg):