You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Johannes Geppert (JIRA)" <ji...@apache.org> on 2012/09/24 21:48:07 UTC

[jira] [Resolved] (WW-3881) Update UI tags in FreeMarker to allow new HTML input types

     [ https://issues.apache.org/jira/browse/WW-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johannes Geppert resolved WW-3881.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.3.6)
                   2.3.5
         Assignee: Johannes Geppert

Should work with latest SNAPSHOT. Can you please test?
                
> 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
>            Assignee: Johannes Geppert
>             Fix For: 2.3.5
>
>
> 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