[richfaces-issues] [JBoss JIRA] Updated: (RF-2928) dataTable and column: Wrong sorting of float numbers

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Wed Apr 2 01:57:39 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-2928?page=all ]

Juergen Zimmermann updated RF-2928:
-----------------------------------

    Attachment: screenshot-1.jpg

The column "Umsatz" was sorted. The result is that 1.500,50 seems to be larger than 500,50. Due to localization 1.500,50 is the German notation for the english notation of 1,500.50

> dataTable and column: Wrong sorting of float numbers
> ----------------------------------------------------
>
>                 Key: RF-2928
>                 URL: http://jira.jboss.com/jira/browse/RF-2928
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: RichFaces 3.2.0, JSF-RI 1.2_08
>            Reporter: Juergen Zimmermann
>         Attachments: screenshot-1.jpg
>
>
> I'm using this tag definition:
> <rich:column sortBy="#{kunde.umsatz}">
> 	<f:facet name="header">
> 		<h:outputText value="#{i18n['tabelle.kunde.umsatz']}"/>
> 	</f:facet>
> 	<h:outputText value="#{kunde.umsatz}">
> 		<f:convertNumber type="currency" currencyCode="EUR"/>
> 	</h:outputText><br/>
> 	<h:outputLink value="http://www.exchangerate.com/quick_calculator.html?amount_from=#{kunde.umsatz}&#38;calc_short_from_iso=EUR&#38;calc_short_to_iso=USD&#38;Submit=Convert"
> 	              target="_blank">
> 		<h:outputText value="#{i18n['waehrung.umrechnen']}"/>
> 	</h:outputLink>
> </rich:column>
> However, the sorting of the float values isn't correct. I'll provide a screenshot

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

        



More information about the richfaces-issues mailing list