Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Cannot use Hashtable

    Hi,

    I am using smartGwt 3.1 on a project.
    I need to use Hashtable inside my java code.

    I have the following simple code

    import java.util.Hashtable;
    Hashtable myHashTable = new Hashtable();

    When I run it (in developement mode) i get the error :
    [ERROR] : No source code is available for type java.util.Hashtable<K,V>; did you forget to inherit a required module?

    Can someone help help me on this point ?

    #2
    https://groups.google.com/forum/#!msg/geogebra-dev/GNK9DO3VDiM/Tl-yQXTLuokJ

    http://activeintelligence.org/blog/archive/gwt-collection-hashtable-hashmap-vector-etc/

    http://stackoverflow.com/questions/5593295/how-to-implement-hashmap-in-gwt

    Comment


      #3
      Thanks a lot for this quick answer, it really helped me as I hadn't find this information on my previous searches.

      It works now with a HashMap.

      Comment

      Working...
      X