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:
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
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
>
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.
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
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
can you provide a shortlist? I'd be happy to give them a try.
On Jan 12, 7:40 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
Hello,
has anybody done any comparing of different html5 charting libraries?
Something quite easy to use, good documentation.
Kenneth
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, Kennethkenneth.t.lundst...@gmail.com wrote:
Hello,
has anybody done any
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,
Hi!
I use dygraphs, here you can try some examples -
http://dygraphs.com/experimental/palette/
Regards
Gerd
I like this one: http://www.highcharts.com/
Regards,
Rive.
On 12 ene, 16:12, António Ramos ramstei...@gmail.com wrote:
Open your eyes to this beauty
http://raphaeljs.com/ichart.html
2012/1/12 Bruno Rocha rochacbr...@gmail.com
I like to use wijmo charts (but it is not free)
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
I think yes.
On Sep 16, 11:54 am, Albert Abril albert.ab...@gmail.com 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
Very interesting, +1.
On Sep 15, 4:03 pm, Michael Ellis michael.f.el...@gmail.com 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
Eventually we should consider moving welcome to html5
On Sep 15, 2:28 pm, Albert Abril albert.ab...@gmail.com wrote:
There's also a good start this: HTML5 Starter
Packhttp://sickdesigner.com/resources/HTML5-starter-pack/index.html
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
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 alv...@justen.eng.br wrote:
On Mon, Jun 7, 2010 at 04:10, Iceberg iceb...@21cn.com wrote:
Just for your information:
http://html5test.com/
I tried these on
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 alv...@justen.eng.br wrote:
On Mon, Jun 7, 2010 at 04:10, Iceberg iceb...@21cn.com wrote:
Just for your information:
http://html5test.com/
I tried these on Windows XP:
Safari 4.0.5 : 115 0ut of 160
Failing on: Geolocation, Forms and User interaction.
Annet.
On Jun 7, 2:28 am, annet annet.verm...@gmail.com 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?
... 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 resultsinsoftw...@gmail.com
wrote:
On Jun 7, 2:28 am, annet annet.verm...@gmail.com wrote:
Safari 4.0.5 : 115 0ut of 160
On OS/X
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 jlund...@pobox.com wrote:
On Apr 12, 2010, at 9:59 AM, mdipierro wrote:
should we replace in welcome
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
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 jlund...@pobox.com wrote:
On Apr 12, 2010, at 9:59 AM, mdipierro wrote:
should we replace in welcome
!DOCTYPE html
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:
good point
On Apr 12, 12:33 pm, Jonathan Lundell jlund...@pobox.com 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
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 think
26 matches
Mail list logo