Hi Jerome,

Have tested the latest snapshot with your fix, but the problem remains. Just to 
clarify, it works fine in hosted mode. The problem is after GWT has compiled 
the client code to JavaScript.

This could be a bug in GWT, because I would imagine that if it works in hosted 
mode, GWT should be able to compile it to working JavaScript. If Restlet is 
using some code structure or class that GWT cannot translate there should be 
compiler errors (in theory).

Not really sure how to proceed, I'm not even sure what I'm gaining using the 
Resetlet GWT client classes, vs using GWT's inbuilt RequestBuilder class and 
using JSNI to deal with the returned JSON data. Perhaps someone can explain to 
me the benefits?

As I do not understand the inner workings of either Restlet or GWT, I guess I 
will have to fall back to using GWT's inbuilt classes. If anyone else has 
successully used Restlets GWT client classes *after* compiling into JavaScript, 
it would be great to hear from them as we could compare code and hopefully 
track down the root cause of the issue.

Ta,
Charlie

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2387211

Reply via email to