PDA

View Full Version : HTML5 type='email' and Spring form tag lib (Spring 3.0)



yoshah
Jun 22nd, 2012, 05:31 AM
Is there any way to use HTMl5's type='email' in Spring form taglib? If, yes, how?

Marten Deinum
Jun 22nd, 2012, 06:58 AM
You need to upgrade to Spring 3.1 for that... Then you can specify type="email" on the form:input tag. In Spring 3.0 there is a bug which renders a duplicate type attribute.