Re: ServletServlet example

2008-11-26 Thread Thierry Boileau
Hello all, I've mistakenly updated the DNS for the restlet.net domain... It should be up to date in a few minutes or hours. Best regards, Thierry Boileau -- Restlet ~ Core developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com I think you can get it

Re: No available xxx connector supports the required protocols

2008-11-26 Thread Thierry Boileau
Hello Raif, at this time, servlet parameters are only copied into the application's context when using the org.restlet.application parameter in the web.xml file... I'm looking for a way to transmit them to the attached restlets when using the restlet.xml file. Best regards, Thierry Boileau

RE: Restlet MVC

2008-11-26 Thread Jerome Louvel
Hi Avi, Full agreement with Rob as well! I have updated the FAQ as you suggested and reworded the rest of the entry for conciseness and to match the Restlet 1.1 API: http://www.restlet.org/documentation/1.1/faq#10 Best regards, Jérôme Louvel -- Restlet ~ Founder and Lead developer ~

RE: Usurping Directory

2008-11-26 Thread Jerome Louvel
Hi again, To customize the display of the directory listing, you should simply override the following methods in Directory: public ListVariant getIndexVariants(ReferenceList indexContent) public Representation getIndexRepresentation(Variant variant, ReferenceList indexContent) Best regards,

RE: What is missing from Restlet?

2008-11-26 Thread Jerome Louvel
Hi Nagarajan, This is exactly what the Restlet book is aiming at: http://book.restlet.org/ We have just been too busy recently to make enough progress. Our current goal is a publication for the release of Restlet 1.2. The User Guide should also be complete with simple sample code for

RE: Guard suggestion

2008-11-26 Thread Jerome Louvel
Hi Rémi, Thanks, I've added your use case as a comment in the RFE. Best regards, Jérôme Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org/ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com/ http://www.noelios.com _ De : Rémi

Re: Guard suggestion

2008-11-26 Thread Bruno Harbulot
Hi Jerome and Remi, I think, in the context of wider refactorisation of authentication and authorisation, that authentication should provided a Principal when a client has been authenticated (and perhaps a default guest principal when no one has, like jGuard does, but that's a different

RE: No available xxx connector supports the required protocols

2008-11-26 Thread Jerome Louvel
Hi all, My opinion is that we shouldn't blindly copy the parameters from a Component to an Application. This is important for security purpose and to properly isolate applications hosted in the same component. In your case, you should make sure that your custom Component manually copies the

RE: Atom Extension: which RFC draft/version?

2008-11-26 Thread Jerome Louvel
Hi Thom, According to our issue tracker, we should have already been APP 1.0 compliant. Let's try to fix the remaining issue for Restlet 1.2. If you could help us with patches or at a detailed report that would be great! Best regards, Jérôme Louvel -- Restlet ~ Founder and Lead developer ~

RE: Getting the Client address from request

2008-11-26 Thread Jerome Louvel
Hi all, I agree with John regarding the current API : we should refactor. So, I've entered a RFE: Add Request#getForwardedAddresses() method http://restlet.tigris.org/issues/show_bug.cgi?id=668 Tamas, if you are interested in working on a patch, that would be cool! Best regards, Jérôme

Posting a form with a file

2008-11-26 Thread Jérémy Bogatirsky
Hi all (my first post), my question is concerning file upload within a form. I'm currenlty using Restlet 1.1.1. I have both client and server developed with Restlet. I'd like to make a post call, sending 2 (key, value) pairs and a file. I success this by making 2 post calls, one for the 2 (key,

Re: Posting a form with a file

2008-11-26 Thread Thierry Boileau
Hello Jérémy, At this time, this feature is not supported as shown by these RFE wich is planned to be delivered in the upcoming 1.2M1: http://restlet.tigris.org/issues/show_bug.cgi?id=71 Best regards, Thierry Boileau -- Restlet ~ Core developer ~ http://www.restlet.org Noelios Technologies

Re: Posting a form with a file

2008-11-26 Thread Jérémy Bogatirsky
Thanks Thierry for responding. The fact the feature is planned is a good news. Meantime, my solution is working, so I can continue this way. Is this mailing list the right place to discuss about Restlet-GWT ? Nevertheless I put my question : I would like to translate my client side of the

Re: Posting a form with a file

2008-11-26 Thread Jérémy Bogatirsky
I respond to myself :-) I'm going to use a classic FormPanel in GWT to send the file. Restlet in server-side should be able to understand it, I mean it's designed to. I'll let you know ! Jérémy 2008/11/26 Jérémy Bogatirsky [EMAIL PROTECTED]: Thanks Thierry for responding. The fact the feature

Re: No available xxx connector supports the required protocols

2008-11-26 Thread Raif S. Naffah
salut Thierry, On Wednesday 26 November 2008 08:54:29 pm Thierry Boileau wrote: Hello Raif, at this time, servlet parameters are only copied into the application's context when using the org.restlet.application parameter in the web.xml file... noted. I'm looking for a way to transmit

Re: No available xxx connector supports the required protocols

2008-11-26 Thread Raif S. Naffah
salut Jerome, On Thursday 27 November 2008 01:43:31 am Jerome Louvel wrote: Hi all, My opinion is that we shouldn't blindly copy the parameters from a Component to an Application. This is important for security purpose and to properly isolate applications hosted in the same component.

Re: ServletServlet example

2008-11-26 Thread Mark Rosenthal
Beautiful! Thanks Thierry. Thierry Boileau wrote: Hello all, I've mistakenly updated the DNS for the restlet.net domain... It should be up to date in a few minutes or hours. Best regards, Thierry Boileau -- Restlet ~ Core developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder

RE: Restlet Directory suggestion

2008-11-26 Thread Cliff Binstock
Jerome, Inline ... Thanks for the good feed-back on Directory. 1) Could you give more information/pointers? What do you want to transform with XSLT, the directory listing? Yes, the directory listing. While quite obtuse, in Tomcat there is a built-in XML directory listing to which you can