So you don't edit your web2py app anywhere. Instead, you just write REST
API inside index.html of the compressed zip that is used to upload for the
phonegap app. Is it?
Can you show the index.html you have used for any of your app?
On Friday, March 18, 2016 at 10:10:56 PM UTC+5:30, Leonel Câmara
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
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
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.
>
&
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>"
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>"
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,
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
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
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
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
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
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
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
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
15 matches
Mail list logo