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

addon-gwt does not support java.math.BigDecimal and java.lang.Character

    XMLWordPrintable

    Details

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

      Description

      for entities with java.math.BigDecimal and/or java.lang.Character field addon-gwt generate import like:

      package com.yourpackage.gwt.request;
      
      import java.util.Date;
      import org.springframework.roo.addon.gwt.RooGwtMirroredFrom;
      import com.google.gwt.requestfactory.shared.EntityProxy;
      import com.google.gwt.requestfactory.shared.ProxyFor;
      import com.google.gwt.requestfactory.shared.Property;
      
      import com.yourpackage.model.YouEntity;
      
      //?!
      import com.yourpackage.gwt.request.BigDecimalProxy;
      import com.yourpackage.gwt.request.CharacterProxy;
      
      @RooGwtMirroredFrom(YouEntity.class)
      @ProxyFor(YouEntity.class)
      public interface YouEntityProxy extends EntityProxy {
      
      

      But it does not generates com.yourpackage.gwt.request.BigDecimalProxy/CharacterProxy classes. And IMHO it should not. Instead why not use these classes as is?

      Property<com.yourpackage.gwt.request.BigDecimalProxy> field = ...
      ->
      Property<java.math.BigDecimal> filed = ...
      

        Attachments

          Activity

            People

            Assignee:
            jtyrrell James Tyrrell
            Reporter:
            romankuzmik Roman Kuzmik
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: