Wicket (1.5 onwards) does not support input type = 'date' or similar constructions out of the box. There's a DateTextField in Wicket Extensions, but it doesn't specify type='date' (yet). I would suggest creating your own implementations that correctly set the type attribute (my assumption why they were not added to the field is that it will break existing applications).
Here EmailTextField , NumberTextField and others . They add the type attribute and validate data entry on the server.
Browsers that do not support HTML5 inputs return to type='text' , so there is nothing else for the Wicket point. The gate will still validate input in accordance with established rules.
source share