RE: Restlet in OSGi and implementation

2008-05-01 Thread Jerome Louvel
Hi Hendy, Thanks for the detailed thoughts about the integration solutions. Now that normal Restlet usage is working with OSGi (see other reply to Edward), I can focus on facilitating the deployment of Restlet Applications/Resources on an OSGi runtime. BTW, I have just read the paper on

How to set multiple FileRepresentations in Reponse?

2008-05-01 Thread Surjendu
Can someone tell me how to send 4-5 attachments as part of response. I mean i can create a FileRepresentation using rep = new FileRepresentation(new File( xxx), MediaType.TEXT_PLAIN, 0); and set it in the response using getResponse().setEntity(rep); but how do I set multiple files in

Exception handling in FreeMarker TemplateRepresentation?

2008-05-01 Thread Matthias Wauer
Hi, my first post here, so first of all, thanks guys for working on releasing Restlet, fine thing. Until now i was able to solve my issues on my own, but i think this one might need to be discussed. Issue: I use the FreeMarker extension to generate representations. Unfortunately, the

Re: Problems with Directory restlet in 1.1m3 and snapshot

2008-05-01 Thread Mark Derricutt
Looking through the examples again I see I missed a crucial line: component.getClients().add(Protocol.FILE); All working now :) On Fri, May 2, 2008 at 12:41 PM, Mark Derricutt [EMAIL PROTECTED] wrote: Hi all, I'm noticing odd/broken behaviour with the Directory restlet under 1.1m3 and the