Hello Tomasz,

the edition of the Restlet framework for the gwt platform contains only two
extensions : json and xml (http://www.restlet.org/documentation/2.1/gwt/).
It means that the "html" extension is not part of this edition, and
therefore is not suitable, at this time, to be used on the gwt platform.

Am I right to think you would like to send multipart entities from your gwt
client code?

Best regards,
Thierry Boileau



Hello,
>
> I used FormDataSet class to schedule post operation but the gwt compiler
> is complaining:
>
> Compiling module com.tk.gwt.ubscart.Ubscart
>   Validating newly compiled units
>      Ignored 1 unit with compilation errors in first pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
> errors.
>   Finding entry point classes
>      [ERROR] Errors in
>
> 'file:/D:/gwt-cart/ubscart/src/com/tk/gwt/ubscart/client/PaypalCheckout.java'
>         [ERROR] Line 59: No source code is available for type
> org.restlet.ext.html.FormDataSet; did you forget to inherit a required
> module?
>         [ERROR] Line 61: No source code is available for type
> org.restlet.ext.html.FormData; did you forget to inherit a required module?
>      [ERROR] Unable to find type 'com.tk.gwt.ubscart.client.Ubscart'
>         [ERROR] Hint: Previous compiler errors may have made this type
> unavailable
>         [ERROR] Hint: Check the inheritance chain from your module; it may
> not be inheriting a required module or a module may not be adding its
> source path entries properly
>
> I use  com.google.gwt.eclipse.sdkbundle_2.4.0.v201201120043-rel-r37 and
> restlet 2.1-RC2-JEE. In my  Ubscart.gwt.xml  file I already inherit
> following modules:
>
>        <inherits name="org.restlet.Restlet"/>
>        <inherits name="org.restlet.JSON"/>
>        <inherits name="org.restlet.XML"/>
>
> I couldn’t find how to inherit the .html module gwt compiler is
> complaining about.
> I run my application in GWT development mode. I checked Eclipse Run
> configuration that org.restlet.ext.html is included in the classpath and
> also that Eclipse can access source code for the
> org.restlet.ext.html.FormDataSet.
>
> Any suggestion what to do next?
>
> --tomekka
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2913721
>

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

Reply via email to