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

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

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

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

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