You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2005/12/06 12:45:09 UTC

[jira] Closed: (MYFACES-891) Broken number converter

     [ http://issues.apache.org/jira/browse/MYFACES-891?page=all ]
     
Martin Marinschek closed MYFACES-891:
-------------------------------------

    Fix Version: Nightly
     Resolution: Won't Fix
      Assign To: Martin Marinschek

> Broken number converter
> -----------------------
>
>          Key: MYFACES-891
>          URL: http://issues.apache.org/jira/browse/MYFACES-891
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.1.1
>  Environment: IBM Websphere CE, Windows XP, IBM JDK 1.4.2
>     Reporter: Routis Haralampos
>     Assignee: Martin Marinschek
>     Priority: Critical
>      Fix For: Nightly

>
> I have a managed bean that declares a Float property. If I register in a jsp the  number converter (in greek local)
> <f:convertNumber groupingUsed="true" maxFractionDigits="2" minFractionDigits="2"/>
> then I get
> a) for input =2,00  
>      error =javax.faces.el.EvaluationException: Cannot set value for expression '#{drugView.model.value}' to a new value of type java.lang.Long
> b) for input=2,31
>    error =javax.faces.el.EvaluationException: Cannot set value for expression '#{drugView.model.value}' to a new value of type java.lang.Double
> The code works fine in 1.1.0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira