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:21:15 UTC
[jira] Created: (TRINIDAD-1454) Facelets: setting locale attribute
fails on tr:convertNumber
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
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.
[jira] Updated: (TRINIDAD-1454) Facelets: setting locale attribute
fails on tr:convertNumber
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated TRINIDAD-1454:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.12-core
Assignee: Matthias Weßendorf
Status: Resolved (was: Patch Available)
> 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
> Assignee: Matthias Weßendorf
> Fix For: 1.2.12-core
>
> 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.
[jira] Updated: (TRINIDAD-1454) Facelets: setting locale attribute
fails on tr:convertNumber
Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
[ 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.