Guice and RpcServlet

2010-05-27 Thread hbf
Hi, I would like to use the new and experimental [1] Direct-Eval RPC of GWT 2 with server-side Guice. However, I could only find information on configuring Guice and GWT for the old RPC, see [2]. To inject the service, the latter blog suggests: @Singleton public class GuiceRemoteServiceServlet

Re: Guice and RpcServlet

2010-06-11 Thread hbf
Googling for DeRPC (and not Direct-Eval RPC) got me what I needed. Here it is, for the sake of completeness: http://groups.google.com/group/google-guice/browse_thread/thread/d958f5a82d45706a/bc6bca85513d9cb3 On May 27, 2:35 pm, hbf kaspar.fisc...@dreizak.com wrote: Hi, I would like to use

Final fields and DeRPC

2010-06-11 Thread hbf
Hi, Does the new RPC mechanism, DeRPC, see http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideDeRPC offer serialization of non-static final fields? We have so many immutable classes that use final fields. It would be nice if there were an option to control

Re: Guice and RpcServlet

2010-06-11 Thread hbf
Any ideas? Best, Kaspar On May 27, 2:35 pm, hbf kaspar.fisc...@dreizak.com wrote: Hi, I would like to use the new and experimental [1] Direct-Eval RPC of GWT 2 with server-side Guice. However, I could only find information on configuring Guice and GWT for the old RPC, see [2]. To inject

Gwt-servlet 2.0.4 in Maven repo

2010-07-15 Thread hbf
Dear list, I hope this is the right place to ask Maven questions related to GWT. I see that http://repo2.maven.org/maven2/com/google/gwt/gwt-user/ contains the latest (2.0.4) release but that http://repo2.maven.org/maven2/com/google/gwt/gwt-servlet/ only contains releases up to 2.0.3.

Re: Gwt-servlet 2.0.4 in Maven repo

2010-07-16 Thread hbf
 pm, hbf kaspar.fisc...@dreizak.com wrote: Dear list, I hope this is the right place to ask Maven questions related to GWT. I see that  http://repo2.maven.org/maven2/com/google/gwt/gwt-user/ contains the latest (2.0.4) release but that  http://repo2.maven.org/maven2/com/google/gwt

Re: HTML5 DnD mouse events - Drop not fired, but others are

2010-07-22 Thread hbf
Harry, Did you have any success with this? I am struggling with the same. Best, Kaspar On Jul 21, 2:55 am, Harry harrylepot...@gmail.com wrote: Hey All, I've been trying to implement support for HTML5 drag 'n' drop events in GWT 2.0.3. Thus far i've managed to override the default DOMImpl

Classloader problem

2010-08-13 Thread hbf
Hi everybody, I am using the Apache Tika libraries [1] in my GWT project. All JUnit test pass fine but in hosted mode, Tika does not find any parsers. I've checked the source and see that they use the ServiceRegistry [2] to find parsers, and in hosted mode, none are found. When I put the Tika

Re: Classloader problem

2010-08-13 Thread hbf
, hbf kaspar.fisc...@dreizak.com wrote: Hi everybody, I am using the Apache Tika libraries [1] in my GWT project. All JUnit test pass fine but in hosted mode, Tika does not find any parsers. I've checked the source and see that they use the ServiceRegistry [2] to find parsers

Re: Classloader problem

2010-08-16 Thread hbf
(it.hasNext()) { System.err.println(it.next().getClass()); } produces no results; with the above line, I see all parsers from Tika. (ClassParser is one such parser. It was not enough to simply define a ClassParser instance ClassParser dummy.) Kaspar On Aug 13, 2:48 pm, hbf

Re: UiBinder fails after upgrading to gwt 2.1.0

2010-11-09 Thread hbf
Same problem on MacOS 10.6.4/Eclipse 3.6 with latest Google Plugin for Eclipse. On Nov 5, 8:05 pm, pgraham philip.robert.gra...@gmail.com wrote: Right, I suppose I should mention that I am running Kubuntu 10.04 64 bit, eclipse 3.6 with the lastest GPE. On Nov 4, 2:11 pm, will0

Tell the GWT compile to not compile a certain method?

2011-02-22 Thread hbf
Dear everybody, I am often facing the problem that I need to duplicate my domain classes in order to use them on the client-side, essentially stripping out code that cannot be run on the client-side. In the end I have two classes (or even hierarchies) to maintain and my client-side code is rather

Can I tell JsonpRequestBuilder to accept gzip/deflate encoding?

2012-01-11 Thread hbf
Dear all, I am doing JSONP requests using JsonpRequestBuilder and observe that it does not send any header like Accept-Encoding:gzip, deflate to the server to allow compression of the JSON payload. Is there a way to enable compression? Best, Kaspar -- You received this message because you

History onValueChange() not called when application is loaded?

2012-01-13 Thread hbf
Dear all, I am following the instructions for History management http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html but even though I register my history handler in onModuleLoad(), it does not fire when I load my application with a fragment in the URL. It does fire,

Re: History onValueChange() not called when application is loaded?

2012-01-13 Thread hbf
token. on http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html makes me think it should be fired... On Jan 13, 1:48 pm, hbf kaspar.fisc...@dreizak.com wrote: Dear all, I am following the instructions for History managementhttp://code.google.com/webtoolkit/doc/latest