Trouble extending org.restlet.util.Template (private declarations)

2008-05-02 Thread Matthias Wauer
Just noticed an issue when subclassing Template. Scenario: For a template pattern /test/{type}/{id} with variables {type == testType} (no id defined in the map), i want format() to return /test/testType/{id} instead of the default /test/testType/null so i tried to subclass it. Issue: in

Can someone plz answer my questions? I am stuck.

2008-05-02 Thread Surjendu
1st Question: 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

XmlBeans/Restlet

2008-05-02 Thread Mike Dunn
I am trying to use XmlBeans with Restlet and am having issues. I am creating an XmlBeans document and posting the xml document as follows: AugmentedTypesDocument document = AugmentedTypesDocument.Factory.newInstance(xmlo); TeoTermsType saturatedTypes =

Re: License clarifications

2008-05-02 Thread Leshek
Noelios Papier à lettresLGPL is no, no in many cases, CDDL might work for some, but others are still legally prevented from benefiting Restlet technology. Looser licensing would definitely help. Jerome Louvel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, In the light