[web2py] Re: jquery mobile: popup calendar does not always appear

2013-05-28 Thread Rowdy
On 28/05/2013 1:36 PM, Massimo Di Pierro wrote: please open a ticket. Perhaps it is time to upgrade the calendar. Thank you Massimo! Ticket 1511 created. https://code.google.com/p/web2py/issues/detail?id=1511 -- --- You received this message because you are subscribed to the Google

[web2py] Re: jquery mobile: popup calendar does not always appear

2013-05-27 Thread Massimo Di Pierro
please open a ticket. Perhaps it is time to upgrade the calendar. On Tuesday, 23 April 2013 19:02:31 UTC-5, Rowdy wrote: Greetings, I am developing a desktop/mobile application using web2py 2.4.6 (currently hosted on CentOS 6.4 with Python 2.6.6, web2py running from source). If I have

[web2py] Re: jquery mobile: popup calendar does not always appear

2013-05-26 Thread Rowdy
On 24/04/2013 10:02 AM, Rowdy wrote: Greetings, I am developing a desktop/mobile application using web2py 2.4.6 (currently hosted on CentOS 6.4 with Python 2.6.6, web2py running from source). If I have an SQLFORM containing a date field, when I tap on the field on a mobile device the popup

Re: [web2py] Re: Jquery mobile module not working

2013-05-01 Thread Martin Weissenboeck
May I ask: is it very difficult to build a new jquery mobile plugin? Other problems are solved during a few hours, but there are questions about jquery mobile since a lot of months. I think many people would like to use it (me too), but it does not work. E.g. I have copies some files (all?) from

[web2py] Re: Jquery mobile module not working

2013-05-01 Thread toni campins
Replace plugin_jqmobile/layout.html for this : !DOCTYPE html html lang={{=T.accepted_language or 'en'}} class=no-js!-- no-js need it for modernzr -- head meta charset=utf-8 / !-- www.phpied.com/conditional-comments-block-downloads/ -- !--[if IE]![endif]-- !-- Always

[web2py] Re: Jquery mobile module not working

2013-05-01 Thread Massimo Di Pierro
Can you send me a patch for admin? On Wednesday, 1 May 2013 03:15:33 UTC-5, toni campins wrote: Replace plugin_jqmobile/layout.html for this : !DOCTYPE html html lang={{=T.accepted_language or 'en'}} class=no-js!-- no-js need it for modernzr -- head meta charset=utf-8 /

[web2py] Re: Jquery mobile module not working

2013-04-30 Thread Matt Johnson
If you got the download from http://web2py.com/plugins/plugin_jqmobile/about I found that when I did it was just not working, also resulting in a blank page. My solution was to revert back to the original files downloaded with web2py (as they were included anyway) -Matt On Tuesday, 2 April

[web2py] Re: Jquery mobile module not working

2013-04-30 Thread Massimo Di Pierro
Use the plugin wiki with comes with web2py (it is in the admin app). On Tuesday, 30 April 2013 05:38:55 UTC-5, Matt Johnson wrote: If you got the download from http://web2py.com/plugins/plugin_jqmobile/about I found that when I did it was just not working, also resulting in a blank page.

[web2py] Re: Jquery mobile module not working

2013-04-29 Thread Christian Espinoza
I have the same Problem.. El martes, 2 de abril de 2013 17:07:35 UTC-3, Torvald Baade Bringsvor escribió: Hi I'm trying out the jquery mobile plugin for web2py (2.4.5) and I'm having no success. When I load the page (both on mobile device and desktop) I get a blank page. When I look at

[web2py] Re: jquery mobile plugin layout problem

2013-02-27 Thread Omi Chiba
Found the solution. It works fine now. I submit a ticket along with my solution for this. http://code.google.com/p/web2py/issues/detail?id=1354thanks=1354ts=1361979432 On Tuesday, February 26, 2013 2:21:21 PM UTC-6, Omi Chiba wrote: How can I add margin both side of the page? I attached my

[web2py] Re: JQuery Mobile + web2py - how to set data-url attribute dynamically? bodydiv data-role=page data-url=docs/pages/docs-links-urltest/

2011-12-02 Thread Constantine Vasil
new_url - it is a variable send to the page like form=form

[web2py] Re: JQuery Mobile + web2py - how to set data-url attribute dynamically? bodydiv data-role=page data-url=docs/pages/docs-links-urltest/

2011-12-02 Thread Anthony
So what's the problem? What does your view look like, and what is in the resulting html? Have you confirmed that new_url actually has a value? On Friday, December 2, 2011 12:06:18 PM UTC-5, Constantine Vasil wrote: new_url - it is a variable send to the page like form=form

[web2py] Re: JQuery Mobile + web2py - how to set data-url attribute dynamically? bodydiv data-role=page data-url=docs/pages/docs-links-urltest/

2011-12-02 Thread Constantine Vasil
no - the new_url actually has not a a value.

[web2py] Re: JQuery Mobile + web2py - how to set data-url attribute dynamically? bodydiv data-role=page data-url=docs/pages/docs-links-urltest/

2011-12-01 Thread Anthony
What value do you want data-url to take -- is it always the URL of the current page? Then maybe URL() + '/'. On Thursday, December 1, 2011 12:05:34 AM UTC-5, Constantine Vasil wrote: JQuery Mobile + web2py presents unique challenge because JQuery Mobile takes over control after server side.

[web2py] Re: JQuery Mobile + web2py - how to set data-url attribute dynamically? bodydiv data-role=page data-url=docs/pages/docs-links-urltest/

2011-12-01 Thread Constantine Vasil
It is not very clear to me what jQuery Mobile are doing but seems to me a good idea. I added a parameter data-url ={{=new_url }} in the layout page because it is where data-url is located. Tried to change it dynamically return dict(

[web2py] Re: JQuery Mobile + web2py - how to set data-url attribute dynamically? bodydiv data-role=page data-url=docs/pages/docs-links-urltest/

2011-12-01 Thread Constantine Vasil
Tried to change it dynamically return dict(new_url=new_url) but when I look at the HTML source it is not.

[web2py] Re: JQuery Mobile + web2py - how to set data-url attribute dynamically? bodydiv data-role=page data-url=docs/pages/docs-links-urltest/

2011-12-01 Thread Anthony
On Thursday, December 1, 2011 9:43:55 PM UTC-5, Constantine Vasil wrote: Tried to change it dynamically return dict(new_url=new_url) but when I look at the HTML source it is not. What is new_url? Also, you should put it in quotes: data-url={{=new_url}}

[web2py] Re: jquery mobile 1.0 released

2011-11-18 Thread Massimo Di Pierro
How? We can upgrade plugin_mobile. Or are you thinking about something else? I would like to have a version of admin (or perhaps a better wizard) based on jquery mobile. On Nov 18, 4:26 am, Angelo Compagnucci angelo.compagnu...@gmail.com wrote: This should be absolutely in web2py! 2011/11/18

Re: [web2py] Re: jquery mobile 1.0 released

2011-11-18 Thread Angelo Compagnucci
Well yes! Thinking of a sortable list plugin, it should be in jquery for desktop and automatically switch to jquery mobile if os is_mobile. A sortable list works very diffrently whith mouse and gestures. We should have a comprehensive set of pugins covering a wide range of cases, and each one

[web2py] Re: jquery mobile and returning DIV() with content format

2011-09-27 Thread Anthony
You cannot do DIV(..., _data-role=collapsible) because _data-role is not a valid keyword argument in Python due to the hyphen. Instead, you could do: DIV(..., **{'_data-role': 'collapsible'}) or mydiv = DIV(...) mydiv['_data-role'] = 'collapsible' Anthony On Tuesday, September 27, 2011

[web2py] Re: jquery mobile and returning DIV() with content format

2011-09-27 Thread kasapo
Hmmm... so python does not like dashes within an identifier, making this troublesome. You'll have to first off, get ride of the dashes in data-role, maybe just use underscores and rewrite them to be dashes when rendering them in XML. I think your best option is to create a new DIV class (or alter

[web2py] Re: jquery mobile and returning DIV() with content format

2011-09-27 Thread kasapo
Ok, Anthony's idea is like a million times better. -1 for extending the div class :( On Sep 27, 2:32 pm, kasapo kas...@gmail.com wrote: Hmmm... so python does not like dashes within an identifier, making this troublesome. You'll have to first off, get ride of the dashes in data-role, maybe

[web2py] Re: jquery mobile and returning DIV() with content format

2011-09-27 Thread Anthony
On Tuesday, September 27, 2011 3:33:44 PM UTC-4, kasapo wrote: Ok, Anthony's idea is like a million times better. I stole it from a previous post by Massimo. :-)

[web2py] Re: jquery mobile and returning DIV() with content format

2011-09-27 Thread Murray3
thanks guys, i will see if I can get my collapsible list generated from a controller function using Anthony's idea. On Sep 27, 8:39 pm, Anthony abasta...@gmail.com wrote: On Tuesday, September 27, 2011 3:33:44 PM UTC-4, kasapo wrote: Ok, Anthony's idea is like a million times better. I

[web2py] Re: JQuery Mobile

2011-08-11 Thread António Ramos
I replaced jQuery for $ and still the page is blank! Em 11 de agosto de 2011 11:16, António Ramos ramstei...@gmail.comescreveu: Hello, i had troubles using jquery mobile plugin. It did not fit properly in my samsung galaxy. The buttons and text boxes are too small. Something is not ok so

[web2py] Re: jquery mobile switch in view

2011-07-22 Thread David Marko
The {{extend }} can use variable as parameter so you can, under ome conditions, compute template name and store it into response object(you can place such code in model) e.g. response.template=layoutjq.html ... and in a view use the following: {{extend response.template}}

[web2py] Re: jquery mobile switch in view

2011-07-22 Thread Anthony
On Friday, July 22, 2011 4:56:20 AM UTC-4, David Marko wrote: The {{extend }} can use variable as parameter so you can, under ome conditions, compute template name and store it into response object(you can place such code in model) e.g. response.template=layoutjq.html ... and in a view

[web2py] Re: jquery mobile switch in view

2011-07-22 Thread Ross Peoples
I have been pondering this for quite a while, and the only way I can think of doing this, while retaining the bytecompile option is to wrap the layout.html file in a if/then statement, and checking for mobile browsers in a model somewhere. So your model would have a variable called is_mobile

[web2py] Re: jquery mobile, google maps and routes.py

2011-04-03 Thread ChrisM
update - seems to only work if you have multiple page definitions in same html file. On Apr 2, 1:02 pm, ChrisM cjjmur...@gmail.com wrote: i am using the examples from; I have a incoming request at http://localhost:8000/#/init/default/map_geoloc in routes.py i have: routes_in =

Re: [web2py] Re: jquery mobile, google maps and routes.py

2011-04-03 Thread Jonathan Lundell
On Apr 3, 2011, at 4:58 AM, ChrisM wrote: update - seems to only work if you have multiple page definitions in same html file. I'd avoid using # in a URL, because a browser is likely to parse it as a fragment (anchor) identifier. On Apr 2, 1:02 pm, ChrisM cjjmur...@gmail.com wrote: i am

[web2py] Re: jquery mobile, google maps and routes.py

2011-04-03 Thread ChrisM
I was trying to get around the fact that jquery inserts the # into the url, so the correct html template is not loaded, this does not happen if you use multi page html file - oh yes, this is for a jquery mobile page. On Apr 3, 3:54 pm, Jonathan Lundell jlund...@pobox.com wrote: On Apr 3, 2011,

Re: [web2py] Re: jquery mobile, google maps and routes.py

2011-04-03 Thread Jonathan Lundell
On Apr 3, 2011, at 4:01 PM, ChrisM wrote: I was trying to get around the fact that jquery inserts the # into the url, so the correct html template is not loaded, this does not happen if you use multi page html file - oh yes, this is for a jquery mobile page. The hash URL never gets to the

[web2py] Re: jquery mobile

2011-03-21 Thread Anthony
Can you provide more information? What does your web2py controller and view code look like?

[web2py] Re: jquery mobile

2011-03-21 Thread ChrisM
Thanks, i downloaded latest web2py , created new app init And the view is Just a hello world with links to jquery and jqmobile plus the Css files, this html demo taken from the lists demo on the jq mobile demo site and renamed to Init/default/views/index.html Have tried with links to the jquery

[web2py] Re: jquery mobile

2011-03-21 Thread Anthony
What exactly is the behavior you see? When you go to http://yoursite.appspot.com/init/default/index, what happens? What is the exact content of your index.html file? Does it extend any layout file (if so, what does that look like)? Have you confirmed that your web2py installation is

[web2py] Re: jquery mobile

2011-03-21 Thread howesc
sorry if this sends you on a wild-goose chase, i don't have an of those fancy i-devices myself (iphone, ipod, ipad) but i'm working on a project that does and those developers use http://www.charlesproxy.com/ and route their traffic through it to see request/response info. So, once you are