Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1254

Binding to a BigDecimal don't honor browser locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-rc2
    • 1.3.1
    • wicket
    • None
    • Windows XP, Firefox 2.0.0.11, tomcat-5.5.25, Java 1.6.0_03

    Description

      Binding from a TextField to a BigDecimal property does not honor the Locale used by the browser.

      With the pt_BR locale configured in Firefox, binding "0,25" to a Double works as expected giving 0.25 value, but to a BigDecimal it gives the error "'0,25' não é um BigDecimal válido."

      It is a major problem with localized applications.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            ziba Eduardo Issao Ito
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: