Wednesday, March 2, 2011

Re: Using HashMap with ValueProxy

Not supported, my guess :

Requests can be parameterized with the following types:

  • Built-in value types: BigDecimal, BigInteger, Boolean, Byte, Enum, Character, Date, Double, Float, Integer, Long, Short, String, Void
  • Custom value types: any subclass of ValueProxy
  • Entity types: any subclass of EntityProxy
  • Collections: List<T> or Set<T>, where T is one of the above value or entity types

Note that primitive types are not supported. Instead, use the corresponding wrapper types. Instance methods that operate on an entity itself, like persist() and remove(), return objects of type InstanceRequest rather than Request. This is explained further in the next section.


http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment