Polymorphic requestfactory example wanted

71 views
Skip to first unread message

zam...@gmail.com

unread,
Oct 18, 2012, 5:43:00 PM10/18/12
to google-we...@googlegroups.com
Hi All,

I need a requestfactory, which can transports a Map<String, ? extends BaseObject> objects. Is there any example to help me to understanding, how can I do it?

thx
Zamek

 

Ümit Seren

unread,
Oct 19, 2012, 5:39:20 AM10/19/12
to google-we...@googlegroups.com
Maps are not supported yet (http://code.google.com/p/google-web-toolkit/issues/detail?id=5524). Tough there is a patch under code review (https://codereview.appspot.com/6132056/)

Andrea Boscolo

unread,
Oct 19, 2012, 5:44:23 AM10/19/12
to google-we...@googlegroups.com
Maps are currently not supported as of http://code.google.com/p/google-web-toolkit/issues/detail?id=5524 a patch has been submitted but apparently it is blocked by http://code.google.com/p/google-web-toolkit/issues/detail?id=5974 so I guess you have to review your transportable type (maybe using a bean wrapper with 'string key' + 'BaseObject value' as suggested in the first issue).

When in doubt check the issue list and poke around tests in the gwt suite. For instance: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryPolymorphicTest.java


On Thursday, October 18, 2012 11:43:00 PM UTC+2, zam...@gmail.com wrote:

zam...@gmail.com

unread,
Oct 19, 2012, 12:50:54 PM10/19/12
to google-we...@googlegroups.com
Hello,

Thx a lot I'll check it.


Reply all
Reply to author
Forward
0 new messages