You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2009/04/15 22:23:15 UTC
[jira] Updated: (TRINIDAD-1454) Facelets: setting locale attribute
fails on tr:convertNumber
[ https://issues.apache.org/jira/browse/TRINIDAD-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Starets updated TRINIDAD-1454:
----------------------------------
Status: Patch Available (was: Open)
> Facelets: setting locale attribute fails on tr:convertNumber
> ------------------------------------------------------------
>
> Key: TRINIDAD-1454
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1454
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Facelets
> Affects Versions: 1.2.11-core
> Reporter: Max Starets
> Attachments: LocalePropertyTagRule.java, metarule.diff
>
>
> If you set locale="fr" on a tr:convertNumber while running with Facelets, you will get the following exception:
> java.lang.IllegalArgumentException: Cannot convert fr of type class java.lang.String to class java.util.Locale
> Resolution: we need to provide a metarule for converting strings to java.util.Locale
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.