Re: [web2py] Re: HTML5 widgets on SQLFORM.factory

2017-09-12 Thread Fabiano Almeida
Great Anthony! Field('year', 'integer', label='Year', widget=lambda f, v: SQLFORM.widgets.string.widget(f, v, _type='number' )) worked perfectly! Thanks! 2017-09-11 19:59 GMT-03:00 Anthony : > On Monday, September 11, 2017 at 4:30:40 PM UTC-4, Fabiano Almeida wrote: >> >> Hi @ll! >> >> H

[web2py] Re: HTML5 widgets on SQLFORM.factory

2017-09-11 Thread Anthony
On Monday, September 11, 2017 at 4:30:40 PM UTC-4, Fabiano Almeida wrote: > > Hi @ll! > > How to use HTML5 widgets on SQLFORM.factory? > > I have this peace of code: > form = SQLFORM.factory(Field('year', 'integer', label='Year')) > > I like use this HTML5 input type="number" widget. > You can do

[web2py] Re: HTML5 Local storage and web2py

2015-12-29 Thread Niphlod
being something that lives in your browser, the only way is to use javascript. On Tuesday, December 29, 2015 at 3:09:18 AM UTC+1, luis.va...@metamaxzone.com wrote: > > Hello! > > I want to use the HTML5 Local Storage ( > http://diveintohtml5.info/storage.html) to store session and other > persi

[web2py] Re: html5 code to load/save textarea or other input

2013-02-04 Thread Derek
Pretty cool. I just started working on something like this last week. My goal was to process CSV files client side though, without having to use Web2py's csv parser (it's good, but not good enough for some of my files). This is a good javascript CSV parser that does meet RFC 4180 specs. http://

Re: [web2py] Re: html5 suport for forms

2012-02-16 Thread Bruno Rocha
I want to create a form parser, to not break the compatibility with FORM something like this: raw_form = SQLFORM(db.table) from plugin_html5form import HTML5FORM html5_form = HTML5FORM(form) So HTML5FORM receives a FORM object and loops inside its components changing everything to html5 pattern

[web2py] Re: html5 suport for forms

2012-02-16 Thread howesc
nothing generic, but i have been known to do things like: #Set HTML 5 input properties if not auth.is_logged_in(): form.custom.widget.first_name['_required'] = True form.custom.widget.first_name['_autofocus'] = True form.custom.widget.last_name['_required'] = True

[web2py] Re: html5 charting library

2012-01-12 Thread Rive
Another great library: http://www.highcharts.com/ >From the home page: " Highcharts is a charting library written in pure JavaScript, offering intuitive, interactive charts to your web site or web application. Highcharts currently supports line, spline, area, areaspline, column, bar, pie and scat

[web2py] Re: html5 charting library

2012-01-12 Thread Rive
I like this one: http://www.highcharts.com/ Regards, Rive. On 12 ene, 16:12, António Ramos wrote: > Open your eyes to this beauty > > http://raphaeljs.com/ichart.html > > 2012/1/12 Bruno Rocha > > > > > > > > > I like to use wijmo charts (but it is not free) > > > Googlecharts is very easy to

[web2py] Re: html5 charting library

2012-01-12 Thread Gerd
Hi! I use dygraphs, here you can try some examples -> http://dygraphs.com/experimental/palette/ Regards Gerd

Re: [web2py] Re: html5 charting library

2012-01-12 Thread Angelo Compagnucci
I made something with: http://www.jqplot.com/ Great library, You can feed datas in json, so it's very easy to interface with a json service in web2py. Unfortunately it has a convoluted documentation, you'll get some time to be acquainted to. http://raphaeljs.com/ Exterminated graphic library, no

Re: [web2py] Re: html5 charting library

2012-01-12 Thread Kenneth Lundström
I don't have a clue of what is out there. My client talked about D3.js or Ext js but I don't know if there is any more. Kenneth can you provide a shortlist? I'd be happy to give them a try. On Jan 12, 7:40 am, Kenneth wrote: Hello, has anybody done any comparing of different html5 chartin

[web2py] Re: html5 charting library

2012-01-12 Thread Massimo Di Pierro
can you provide a shortlist? I'd be happy to give them a try. On Jan 12, 7:40 am, Kenneth wrote: > Hello, > > has anybody done any comparing of different html5 charting libraries? > > Something quite easy to use, good documentation. > > Kenneth

[web2py] Re: HTML5 Boilerplate

2010-09-16 Thread mdipierro
I think yes. On Sep 16, 11:54 am, Albert Abril wrote: > Just a question, the html code generated by (*)helpers.. is html5 > compatible? > Thanks in advance. > > (*)http://www.web2py.com/book/default/chapter/05#HTML-Helpers > > On Wed, Sep 15, 2010 at 9:42 PM, mdipierro wrote: > > Eventually we s

Re: [web2py] Re: HTML5 Boilerplate

2010-09-16 Thread Albert Abril
Just a question, the html code generated by (*)helpers.. is html5 compatible? Thanks in advance. (*)http://www.web2py.com/book/default/chapter/05#HTML-Helpers On Wed, Sep 15, 2010 at 9:42 PM, mdipierro wrote: > Eventually we should consider moving welcome to html5 > > On Sep 15, 2:28 pm, Albert

[web2py] Re: HTML5 Boilerplate

2010-09-15 Thread mdipierro
Eventually we should consider moving welcome to html5 On Sep 15, 2:28 pm, Albert Abril wrote: > There's also a good start this: HTML5 Starter > Packhttp://sickdesigner.com/resources/HTML5-starter-pack/index.html > > > > On Wed, Se

[web2py] Re: HTML5 Boilerplate

2010-09-15 Thread Martin.Mulone
Very interesting, +1. On Sep 15, 4:03 pm, Michael Ellis wrote: > Just came across this while searching for something else.  Haven't > played with it at all yet.  Looks as though the authors have packaged > together a fairly comprehensive set of html/css/js  techniques for > cross-browser compatib

[web2py] Re: html5 test

2010-06-08 Thread Yarko Tymciurak
Ok - this link - html5test.com - has been updated, and Safari-5 is out today; Out of (now) a total possible 300 points: Safari 5.0 (6533.16): 208 + 10 bonus points; Chrome 5.0.375.70:197 + 7 bonus points; Safari 3.6.3139 + 4 Opera 10.53: 129 + 4 - Yarko

[web2py] Re: html5 test

2010-06-07 Thread Yarko Tymciurak
... I missed that this is being developed, open, by Niels: http://github.com/NielsLeenheer/html5test ...opne to contributions On Jun 7, 1:10 pm, Yarko Tymciurak wrote: > On Jun 7, 2:28 am, annet wrote: > > > Safari 4.0.5 : 115 0ut of 160 > > On OS/X 10.6.3: > > Chrome 5.0.375.55:     142 > Safa

[web2py] Re: html5 test

2010-06-07 Thread Yarko Tymciurak
On Jun 7, 2:28 am, annet wrote: > Safari 4.0.5 : 115 0ut of 160 On OS/X 10.6.3: Chrome 5.0.375.55: 142 Safari 4.0.5: 120 Opera 10.53:102 Firefox 3.6.3:101 Not sure how complete this test is (has anyone reviewed the test? - from just glancing a

[web2py] Re: html5 test

2010-06-07 Thread annet
Safari 4.0.5 : 115 0ut of 160 Failing on: Geolocation, Forms and User interaction. Annet.

[web2py] Re: html5 test

2010-06-07 Thread Anand Vaidya
rekonq and arora, which are webkit based, (tested on Linux, KDE 4.4.4) score 116/160 On Jun 7, 3:11 pm, Álvaro Justen wrote: > On Mon, Jun 7, 2010 at 04:10, Iceberg wrote: > > Just for your information: > >http://html5test.com/ > > > I tried these on Windows XP: > > Chrome5: 142 out of 160 > >

[web2py] Re: html5 test

2010-06-07 Thread Anand Vaidya
Firefox 3.6.4 also score 101/160, failing mostly in patented/ proprietary codec (h264 etc) support. On Jun 7, 3:11 pm, Álvaro Justen wrote: > On Mon, Jun 7, 2010 at 04:10, Iceberg wrote: > > Just for your information: > >http://html5test.com/ > > > I tried these on Windows XP: > > Chrome5: 142

[web2py] Re: html5

2010-04-12 Thread Christopher Steel
At this point in time (all?) validators generate errors for "bad" stuff as well as really "good" stuff because most validators are very out of date. As Jonathan pointed out right now Google shows about 40 errors. Running www.Web2py.com shows about 14 errors at http://validator.w3.org/ I don't th

[web2py] Re: html5

2010-04-12 Thread mdipierro
good point On Apr 12, 12:33 pm, Jonathan Lundell wrote: > On Apr 12, 2010, at 10:23 AM, mdipierro wrote: > > > ps. I am not suggesting we use the new html5 features yet (like > > forms). Only the doctype (google does it) and make sure it w3c > > validates. > > I'm not sure that Google is the best

Re: [web2py] Re: html5

2010-04-12 Thread Jonathan Lundell
On Apr 12, 2010, at 10:23 AM, mdipierro wrote: > ps. I am not suggesting we use the new html5 features yet (like > forms). Only the doctype (google does it) and make sure it w3c > validates. I'm not sure that Google is the best example to follow: http://validator.w3.org/check?uri=http://www.goog

[web2py] Re: html5

2010-04-12 Thread mdipierro
ps. I am not suggesting we use the new html5 features yet (like forms). Only the doctype (google does it) and make sure it w3c validates. On Apr 12, 12:10 pm, Jonathan Lundell wrote: > On Apr 12, 2010, at 9:59 AM, mdipierro wrote: > > > should we replace in welcome > > > >www.w3.org/TR/xhtml1/DT

[web2py] Re: html5

2010-04-12 Thread mdipierro
I put it in trunk for now. It requires very few changes to welcome. Take a look. On Apr 12, 12:10 pm, Jonathan Lundell wrote: > On Apr 12, 2010, at 9:59 AM, mdipierro wrote: > > > should we replace in welcome > > > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > with > > > > > > pros?