myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Routis Haralampos (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-891) Broken number converter
Date Wed, 30 Nov 2005 12:54:29 GMT
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
    Priority: Critical


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


Mime
View raw message