When using the i18n script for generating the constant interface, the
maps are not generated as desribed in the documentation

http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/Constants.html

The following properties file

key1 = foo
key2 = bar
map = key1, key2

produces the following interface:

  @DefaultStringValue("foo")
  @Key("key1")
  String key1();

  @DefaultStringValue("bar")
  @Key("key2")
  String key2();

  @DefaultStringValue("key1, key2")
  @Key("map")
  String map();

But accoring to the documentation I would expect to get the following
signature for map():

  @DefaultStringMapValue({"key1", "foo", "key2", "bar"})
  @Key("map")
  Map<String, String> map();

What do I need to do that the map is created? Or is there a bug in the
i18n script?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to