[web2py] Could you write the code for RESTFUL api used in the web2py app controller and in the phonegap view?

2016-03-27 Thread Rgb Aston
Please don't send me the link of the documentation. I seriously tried it but it's not working. Please write the codes finally as I have given up struggling with it. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] How did you implement chat system in your app? How's my idea?

2016-03-27 Thread Rgb Aston
So I have created a db table with name 'messages' and fields= message, sender, receiver,date_time where sender is auth.user_id by default and unchangeable. date_time represents when the message was sent out. So when one user opens his message view he can see all his messages (designed such a way

[web2py] How to change the icon that appears on the tab where web2py app is opened?

2016-02-20 Thread Rgb Aston
It always shows this by default. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] How to change the icon that appears on the tab where web2py is opened?

2016-02-20 Thread Rgb Aston
It always shows this by default. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] What are the platforms for free web hosting of web2py apps?

2016-02-20 Thread Rgb Aston
Which one's the best to go for? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
gt; ajax('{{=URL('default', 'location')}}' + '?lat=' + visitor_lat + '&lon=' + > visitor_lon, [], ':eval'); > > Notice that you must use Javascript in order to construct the URL based on > Javascript variables. > > A

[web2py] Re: How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
gt; ajax('{{=URL('default', 'location')}}' + '?lat=' + visitor_lat + '&lon=' + > visitor_lon, [], ':eval'); > > Notice that you must use Javascript in order to construct the URL based on > Javascript variables. > > A

[web2py] Re: How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
uted later in the browser. If you need to put something > in the session from Javascript, you would have to pass the relevant data to > web2py via an Ajax call and have the called function write the data to the > session. > > Anthony > > On Saturday, February 20

[web2py] Re: How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
mething > in the session from Javascript, you would have to pass the relevant data to > web2py via an Ajax call and have the called function write the data to the > session. > > Anthony > > On Saturday, February 20, 2016 at 11:40:50 AM UTC-5,

[web2py] Re: How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
to > web2py via an Ajax call and have the called function write the data to the > session. > > Anthony > > On Saturday, February 20, 2016 at 11:40:50 AM UTC-5, Rgb Aston wrote: >> >> http://www.google.com/jsapi?key=</a> >> <YOUR_GOOGLE_API_KEY>"

[web2py] Re: How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
b2py via an Ajax call and have the called function write the data to the > session. > > Anthony > > On Saturday, February 20, 2016 at 11:40:50 AM UTC-5, Rgb Aston wrote: >> >> http://www.google.com/jsapi?key=</a> >> <YOUR_GOOGLE_API_KEY>"

[web2py] Re: How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
e is returned to the browser, and the > Javascript is executed later in the browser. If you need to put something > in the session from Javascript, you would have to pass the relevant data to > web2py via an Ajax call and have the called function write the data to the > session. > &

[web2py] How to give value to controller variable inside the view like this? How to correct this?

2016-02-20 Thread Rgb Aston
http://www.google.com/jsapi?key="> if(google.loader.ClientLocation) { visitor_lat = google.loader.ClientLocation.latitude; visitor_lon = google.loader.ClientLocation.longitude; visitor_city = google.loader.ClientLoca

[web2py] I can't see response.flash anywhere though I have written it in code. What might be the problem?

2016-02-20 Thread Rgb Aston
Tell me how to fix this -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py