Re: Restlet GWT Client example

2010-04-02 Thread dgiscool
I am using RESTLET for my REST implementation both on client and server side. I will be using JSON. So the GWT client will be communicating with RESTLET based web services using JSON. I want to understand: If I use FormPanel in GWT then how can I pass the parameters and Form data using POST ?

Re: Restlet GWT Client example

2010-04-02 Thread lineman78
You will most likely have to add a submit listener and build up the json object and then use code similar to that found here: http://wiki.restlet.org/docs_1.1/13-restlet/144-restlet/190-restlet.html There is no automatic mappings... only projects like GXT and smartGWT have direct mapping for

Re: Restlet GWT Client example

2010-04-02 Thread Katharina Probst
From the GWT side, you can try using RequestBuilder to do a POST. It's pretty flexible. http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/http/client/RequestBuilder.html kathrin On Fri, Apr 2, 2010 at 7:38 AM, lineman78 linema...@gmail.com wrote: You will most likely

Restlet GWT Client example

2010-04-02 Thread Deep Chand
Hi, I am trying to develop a GWT client that will call RESTful web services on the server side. Can some one please provide a example code that demonstrates how to send a POST HTTP request using GWT FormPanel ? Any help will be appreciated. On Restlet site, I do not find such examples. Thanks in

Restlet GWT Client example

2010-04-01 Thread dgiscool
Hi, I am trying to develop a GWT client that will call RESTful web services on the server side. Can some one please provide a example code that demonstrates how to send a POST HTTP request using GWT FormPanel ? Any help will be appreciated. On Restlet site, I do not find such examples. Thanks in

Re: Restlet GWT Client example

2010-04-01 Thread lineman78
You have to be more specific on how you want to send the data. Are you using Jersey for your REST implementation. Are you restricting it to XML, or are you capable of doing JSON. If you can do JSON it is very nice cause GWT has a direct loading method that has low overhead. If you want to use