Re: RFC - Restlet edition for JavaScript

2010-07-13 Thread Eric Ferraiuolo
This sounds like an interesting project. Currently the Ajax support in the JavaScript libraries lack a full-fledged REST model/support; although they are very simple to use in the basic use-cases. I work with YUI 3 and we use Restlet in our server-side stack. YUI 3 has a Y.io static

Re: Internal Connector Error (problem with gwt restlet client)

2010-07-13 Thread Thierry Boileau
Hello Sjoerd, this should not happen with the latest snapshot. Could you check the sample project attached to this issue, for example? http://restlet.tigris.org/issues/show_bug.cgi?id=1144 Best regards, Thierry Boileau Hi, I've created a simple gwt-restlet testproject. Snippet from the

Re: XML tag in xstream json output?

2010-07-13 Thread Thierry Boileau
Hello Patrik, thanks for your report, the fix is available in the svn repository. Best regards, Thierry Boileau I'm using Restlet 2.0-RC4 with Xstream extension to marshall objects to xml and json. My problem is that the json output contains xml tag as the first row ?xml version=1.0

Re: ClientResource leaves an inactive thread

2010-07-13 Thread Thierry Boileau
Hello Nina, the internal connectors have been updated recently, and some adjustements make your code running fine with the current snapshot. Sorry for the delay of this answer. Best regards, Thierry Boileau Hello All, I am experiencing memory/thread leak ,with Restlet-2.0-RC4 and

Re: Status of Asynchronous Support

2010-07-13 Thread Tal Liron
Jerome, even though setCommitted(false) gets called, there still the usual processing of handle() in the entire restlet chain (the Finder, delegating to the UniformResource, etc.). Within these routines, the return values from various callbacks are handled. Stuff that happens there on the response

Re: RFC - Restlet edition for JavaScript

2010-07-13 Thread Tal Liron
Great stuff, Eric. I will experiment with this. I would love for Prudence to have a matching client-side API. By the way, take a look at Ext-JS -- recent versions have really well thought-out RESTful widgets. You'll need to have your Restlet resources aware of the Ext-JS requirements, but this is