RE: gwt compiler can

2012-02-02 Thread Tomasz Kaczynski
Hmm, the error was generated from my misguided attempt to use the FormDtaSet class in the client. The GWT compiler properly reported error and the .html package didn't provide to be inherited in GWT because it was meant for Server. The code in question runs on Server just fine. --tomekka

RE: UriBuilder encoding

2012-02-02 Thread Thomas Mortagne
From what I understood this method is supposed to add a new segment and not replace the {somevar}. -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/UriBuilder-encoding-tp7230131p7246398.html Sent from the Restlet Discuss mailing list archive at Nabble.com.

RE: Re: reg TokenBuffer

2012-02-02 Thread Domnic
Hello Thierry and Tim, thanks you for your support. The example works like a gem. Yes Tim is right, When I include the Jackson 1.5 it is better. I am not getting this error. thanks Domnic --

AWS and Freemaker + Restlet

2012-02-02 Thread Domnic
Hi there, I am trying to use a Freemaker template with a restlet Resource. this runs fine on local host i.e. on a standalone java. But when I try to export a WAR out of it.I get the following error while deployment. WARNING: Exception or error caught in server resource

Re: AWS and Freemaker + Restlet

2012-02-02 Thread Tim Peierls
The AbstractMethodError suggests that somehow you're getting a stub ConverterHelper that doesn't implement the abstract score method. Make sure you're using the Restlet J2EE edition and the servlet extension. Make sure the Freemarker extension jar (and the Freemarker jar) are on your servlet's

RE: Re: AWS and Freemaker + Restlet

2012-02-02 Thread Domnic
Hello Tim, Thanks for your reply. I have to learn Guice and follow up your code.. I will try that ASAP. meanwhile I tried the manual way... when I export a standalone restlet application into a war..and deploy in aws, it works.. but the moment I try to use the freemaker.. I get the errors. I

Re: Re: AWS and Freemaker + Restlet

2012-02-02 Thread Tim Peierls
You could try instrumenting getBestHelper so that it dumps the concrete type of the ConverterHelper, ch, just before it tries to call the score method. It certainly sounds as though the Restlet Engine is not finding the Freemarker extension in the classpath, but I don't know why that might be