Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2347

@DateTimeFormat and @NumberFormat styles are not reflected correctly when using GWT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.4.RELEASE
    • Component/s: GWT
    • Labels:
      None

      Description

      The only style supported is the following:

      @DateTimeFormat(style="S-")

      If I use the style="SS" or style="MM" or anything at all, roo will always set the format to PredefinedFormat.DATE_SHORT in <entity>DetailsView_Roo_Gwt.java managed file. This is seems to be related to the getFormatter() method in GwtProxyProperty in the org.springframework.roo.addon.gwt.

      The same problem occurs if I use style=Style.CURRENCY. There are probably many other style values that should be appropriately reflected in roo.

        Attachments

          Activity

            People

            Assignee:
            jtyrrell James Tyrrell
            Reporter:
            marioja Mario Jauvin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: