Re: AjaxButton and HTML5 fields

2011-04-28 Thread Jeremy Levy
Thanks Martin, that worked beautifully, well perhaps not beautifully but quite well. On Wed, Apr 27, 2011 at 1:52 AM, Martin Grigorov wrote: > Hi Jeremy, > > Yes, this is the way to make it working. > In Wicket 1.5 all this is already improved and Wicket provides Number, > Url and Range TextFie

Re: AjaxButton and HTML5 fields

2011-04-26 Thread Martin Grigorov
Hi Jeremy, Yes, this is the way to make it working. In Wicket 1.5 all this is already improved and Wicket provides Number, Url and Range TextFields out of the box but it is quite easy to use the other types too. To make it work in 1.4.x you'll need to use the monkey-patch approach. You can see the

AjaxButton and HTML5 fields

2011-04-26 Thread Jeremy Levy
I've extended TextField to support some of the HTML5 variants, number, email etc. This works great when submitting via normal methods. However it doesn't work when using AjaxButton, the form data for the HTML5 fields is never POSTed. The root issue appears to be in wicket-ajax.js specifically li