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

Bjørn Stenfeldt resolved TOMAHAWK-825.
--------------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 1.1.3)
                   1.1.5-SNAPSHOT

My mistake. Turns out I has missed the locale attribute on the core:view tag. 
After adding that, months have been rendering in their correct language.

So the solution is something like this:

<core:view locale="#{MyBean.locale}">
<tomahawk:inputDate id="myId"
                    value="#{MyBean.date}"
                    timeZone="#{MyBean.timeZone}"
                    required="true"/>
</core:view>

> Locale support for inputDate months
> -----------------------------------
>
>                 Key: TOMAHAWK-825
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-825
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>    Affects Versions: 1.1.5-SNAPSHOT
>         Environment: Java EE 1.4, JSF 1.2, Sun Application Server PE9, 
> Tomahawk 1.1.5 SNAPSHOT nightly build from november 16th
>            Reporter: Bjørn Stenfeldt
>            Priority: Minor
>             Fix For: 1.1.5-SNAPSHOT
>
>
> I am pretty sure this worked in Tomahawk 1.1.3, but I could be wrong...
> The drop down with months always display the month names in English. Would be 
> great if the names were in their locale names instead. Here is a piece of 
> code that display English month names, where I actually wanted Danish names 
> instead.
> <tomahawk:inputDate id="myId"
>                     value="#{MyBean.deadline}"
>                     timeZone="Europe/Copenhagen"
>                     required="true"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to