Hello Alex, did you try to update the list of client connectors registered by the Component? You can make a call such as Component#getClients().add(Protocol.CLAP);
Best regards, Thierry Boileau Hi, > > I am integrating Guice and Restlet in an approach that involves using > ServletAdapter instead of wiring up ServerServlet. Everything works fine > until I want to involve a representation that comes from Freemarker. > > The problems seem to come from the fact that I can't properly set the > client > protocol and the Component level in Restlet when I'm using ServletAdapter. > Freemarker and Restlet work OK together for me when I use ServerServlet and > set the CLAP protocol through web.xml. > > Unless I'm missing something, I cannot find a way to set the CLAP protocol > into Component when using ServletAdapter. > > I can provide code snippets if it helps. > > Any suggestions? Thanks! > > -- > View this message in context: > http://restlet-discuss.1400322.n2.nabble.com/USing-Freemarker-with-ServletAdapter-tp7327160p7327160.html > Sent from the Restlet Discuss mailing list archive at Nabble.com. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2927727 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2927956