Uploaded image for project: 'XWork'
  1. XWork
  2. XW-490

XWorkBasicConverter.doConvertToString(...) ignores Locale for instances of Number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.0.1
    • 2.1.3
    • Type Conversion
    • None
    • Windows XP, Tomcat 5.5, Struts 2.0.6
    • Patch

    Description

      I'm using Struts 2.0.6.

      For the Type-Conversion the XWorkConverter is used.

      My Problem is, that String values of my JSP-Textfields are converted with the doConvertToNumber into Double-Values with the context locale and a NumberFormater.

      But the other way round in the doConvertToString(Map, Object) function the locale is not used.

      Attachments

        Issue Links

          Activity

            People

              rainerh Rainer Hermanns
              nils_eckert Nils Eckert
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: