You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Greg Huber <gr...@gmail.com> on 2016/02/09 13:31:02 UTC

Html 5 email fields

On the java template plugin the TextFieldHandler defaults to
attr.add("type", "text") whilst the s:textfield has the attribute, is there
a default set of values already supported on the normal rendering?

For mobile devices it is helpful if it knows the field type as you get
different keyboard symbols.

Cheers Greg.

Re: Html 5 email fields

Posted by Lukasz Lenart <lu...@apache.org>.
2016-02-09 13:31 GMT+01:00 Greg Huber <gr...@gmail.com>:
> On the java template plugin the TextFieldHandler defaults to
> attr.add("type", "text") whilst the s:textfield has the attribute, is there
> a default set of values already supported on the normal rendering?

Yeah, there is few more

http://www.w3schools.com/html/html_form_input_types.asp

color
date
datetime
datetime-local
email
month
number
range
search
tel
time
url
week


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org