On 2/11/11 9:42 AM, Jason T. Greene wrote:
On 2/10/11 1:26 PM, Heiko Braun wrote:
>
>
> This might turn out to be really valuable.
> Your analysis is pretty much to the point:
> Overlay types are difficult on a detyped API.
> At least it would mean that we need to create overlay types, per use case
> (i.e read operation).
Yeah I suspect what you would have to do to get a dynamic API is to
write a similar API to whats in DMR and have it use JSNI with reflective
analysis (e.g. javascript typeof).
It might be possible that gwt.json.client.JSONObject would be
sufficient, although slightly more verbose.
--
Jason T. Greene
JBoss, a division of Red Hat