Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.4.1
-
None
-
None
-
Windows 7 + JDK1.6.0_27 + Struts2 2.3.4.1 + FreeMarker 2.3.19
-
Important
Description
It is impossible to use new HTML5 input types for forms with the tags currently available in FreeMarker.
=> For example, I want to use the new email input type in order to have the following HTML code :
<input type="email" name="testInput">.
=> If I use the textfield tag, which is the only one I can use for this purpose, I always have the type text in the HTML result code.
test.ftl
<@s.textfield type="email" name="testInput" />
The HTML result is always :
<input type="text" name="testInput">