did you know that http://ishtml5readyyet.com/ use html5 :)
What about doing desktop capability detection to check if browser is ready for html5? This could be done at server side (sniffing header + free db) or at client side (http://diveintohtml5.org/detect.html) Is possible to tapestry an equivalent to *xmlns:h5*=" http://java.sun.com/jsf/composite/html5"> please don't give the point to http://www.ibm.com/developerworks/java/library/j-jsf2fu-1010/ 2010/11/4 Igor Drobiazko <igor.drobia...@gmail.com> > Well, I don't think 5.3 will support HTML 5 as it will take some time until > the standard is ready. > > See here: http://ishtml5readyyet.com/ > > On Wed, Nov 3, 2010 at 8:41 AM, Christian Köberl < > tapestry.christian.koeb...@gmail.com> wrote: > > > > > Hi! > > > > Has anybody read this article? > > http://www.alistapart.com/articles/forward-thinking-form-validation/ > > > > It's about building web forms for HTML5 browsers with backward > > compatibility > > to older browsers. > > > > Simply spoken a input field for a numeric postcode is defined as: > > <input id="postcode" name="postcode" type="number" min="1001" max="8000" > > maxlength="4" required /> > > (not as type="text) > > > > Modern (HTML5) browsers can now use this info for validating and styling > > the > > input. > > For older browsers the author has built a simple JavaScript that does > some > > validation and styling. > > I especially like the style they use for input validation, see the > example: > > > > > http://www.alistapart.com/d/forward-thinking-form-validation/enhanced_2.html > > > > Tapestry could use the JSR-303 annotations and type-info to generate this > > HTML5 code instead of the old plain HTML: > > @NonNull > > @Min(1001) > > @Max(8000) > > private Int postcode; > > > > I think this would be a great feature (maybe for 5.3) and an advantage > over > > other web frameworks. > > > > What do you think? > > > > Cheers, > > Chris > > -- > > View this message in context: > > > http://tapestry-users.832.n2.nabble.com/HTML5-forms-for-Tapestry-5-3-tp5700366p5700366.html > > Sent from the Tapestry Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > -- > Best regards, > > Igor Drobiazko > http://tapestry5.de >