[web2py] Re: web2py view to controller value passing and vice versa

2013-05-30 Thread Anthony
Did you read my response here: https://groups.google.com/d/msg/web2py/yC9e4gy-t1k/SPpTjGyYLQQJ? We need more information about what you are trying to do? Where is that "onclick" handler, and what do you want to happen on the page when it is clicked? Anthony On Thursday, May 30, 2013 2:32:02 A

[web2py] Re: web2py view to controller value passing and vice versa

2013-05-29 Thread Richard Prabhu
hello anthony, i have a doubt in web2py. I am developing an application using web2py. In my view i have an onclick event which is using an ajax function to send the data to the controller and the controller will process the value and send back the data to view.How to get the value in view i wan

[web2py] Re: web2py view to controller value passing and vice versa

2013-05-29 Thread Anthony
When you say you want the value in the "view", do you really mean you want it on the web page in the client? As Tim pointed out below, the view is a file on the server that is executed on the server -- it generates an HTML page that is then sent to the browser -- however, the view itself is not

[web2py] Re: web2py view to controller value passing and vice versa

2013-05-29 Thread Tim Richardson
how to get the returned value in view again?? > > > The view is executed by the server, so variables included in the view are provided by the web2py server process executing code at the time the content is sent to the browser; you are returning a value via ajax which sends it to the client (th