Loic VSCT created WW-3881:
-----------------------------
Summary: Update UI tags in FreeMarker to allow new html input types
Key: WW-3881
URL: https://issues.apache.org/jira/browse/WW-3881
Project: Struts 2
Issue Type: Improvement
Affects Versions: 2.3.4.1
Environment: Windows 7 + JDK1.6.0_27 + Struts2 2.3.4.1 + FreeMarker
2.3.19
Reporter: Loic VSCT
It is impossible to use new HTML5 input types for forms with the tags available
in FreeMarker.
=> For example, I want to use the new *email* input type in order to have the
following HTML code :
{code}
<input type="email" name="testInput">.
{code}
=> If I use the *textfield* tag, I always have the type *text* in the HTML
result code.
{code:title=test.ftl|borderStyle=solid}
<@s.textfield type="email" name="testInput" />
{code}
The HTML result is :
{code}
<input type="text" name="testInput">
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira