[
https://issues.apache.org/jira/browse/WW-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Loic VSCT updated WW-3881:
--------------------------
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 :
{code}
<input type="email" name="testInput">.
{code}
=> 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.
{code:title=test.ftl|borderStyle=solid}
<@s.textfield type="email" name="testInput" />
{code}
The HTML result is always :
{code}
<input type="text" name="testInput">
{code}
was:
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 :
{code}
<input type="email" name="testInput">.
{code}
=> 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.
{code:title=test.ftl|borderStyle=solid}
<@s.textfield type="email" name="testInput" />
{code}
The HTML result is :
{code}
<input type="text" name="testInput">
{code}
> 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
> currently 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, which is the only one I can use for this
> purpose, 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 always :
> {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