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

Binding to a BigDecimal don't honor browser locale

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-rc2
    • Fix Version/s: 1.3.1
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: