how to use Guard to protect confirmed URIs

2009-07-15 Thread Johnson
hi, I add some description for the topic above: actually the scenario is like that: I just want to protect some of all resources like /customers, /customers/{customerId}, /customers/{customerId}/orders etc. but not including some other resources such as /users, /users/{userId} etc. if I

RE: Re: Licensing question

2009-07-15 Thread webpost
Thanks for the help. I actually ended up finding another source for the javax.xml.stream jar at http://stax.codehaus.org/Home which uses the Apache 2.0 license. Jennifer --

Re: Re: HTML Email

2009-07-15 Thread Rémi Dewitte
Hello, Using this, you no longer use body but multipart tags, the patch is pretty understandable. It would be nice you take it and submit a proper patch for the current SVN trunk ! Hope it helps, Rémi On Fri, Jul 10, 2009 at 22:32, webp...@tigris.org wrote: I'd love to get that multi-part

getting the button from a Form

2009-07-15 Thread Marc Lerma
hello everyone, In my application, I need to get the id of a form button when managing a POST call on a given resource. this is my form i'm posting to my resource: form name=login method=post action=/iwf-rest-client/login Name:br input type=text name=iwf.user_name cols=55 rows=10/textareabr

getting the button from a Form

2009-07-15 Thread webpost
hello everyone, In my application, I need to get the id of a form button when managing a POST call on a given resource. this is my form i'm posting to my resource: form name=login method=post action=/iwf-rest-client/login Name:br input type=text name=iwf.user_name cols=55 rows=10/textareabr

Wrong snapshot

2009-07-15 Thread Lars Heuer
Hi Jerome, http://www.restlet.org/downloads/ delivers the wrong snapshot. When someone tries to download http://www.restlet.org/downloads/snapshot.zip a restlet-1.2-snapshot is delivered. According to the changes.txt the snapshot was created at 2009-05-16. Best regards, Lars -- Semagia

Re: Wrong snapshot

2009-07-15 Thread Fabian Mandelbaum
Lars Heuer wrote: Hi Jerome, http://www.restlet.org/downloads/ delivers the wrong snapshot. When someone tries to download http://www.restlet.org/downloads/snapshot.zip a restlet-1.2-snapshot is delivered. According to the changes.txt the snapshot was created at 2009-05-16. Best regards,

Re: getting the button from a Form

2009-07-15 Thread Rhett Sutphin
Hi Marc, On Jul 15, 2009, at 4:45 AM, Marc Lerma wrote: hello everyone, In my application, I need to get the id of a form button when managing a POST call on a given resource. this is my form i'm posting to my resource: form name=login method=post action=/iwf-rest-client/login

Wiring restlets internally (2.0snapshot from 2009-07-09)

2009-07-15 Thread Fabian Mandelbaum
Ouf... I couldn't think of a good title for this mail (sorry). Here's the situation: I have the following URI routing (simplified resource class names for this example, both classes extend ServerResource): router.attach(/workspaces/{wksp}/releases, WRR.class);

Re: Premature EOF / Broken Pipe

2009-07-15 Thread Timothy Aanerud
Several days of over night testing showed that my application would still intermittently fail. Switching the order of the messages just reduced the incident rate. -- Timothy. On Wed, Jul 1, 2009 at 1:52 PM, Timothy Aanerud taane...@aticonsulting.comwrote: ... In my actual application I have

Re: Wiring restlets internally (2.0snapshot from 2009-07-09)

2009-07-15 Thread Rob Heittman
For inter-resource communication we tend to use the RIAP pseudoprotocol: http://wiki.restlet.org/docs_1.2/13-restlet/48-restlet/86-restlet/45-restlet.html This correctly provides all the relevant routing and construction behavior. It is cheaper than making an actual http request to localhost or

Re: Premature EOF / Broken Pipe

2009-07-15 Thread Timothy Aanerud
My real application is still the only place I can reproduce the problem. While watching the client and server both run within Eclipse I can add one more observation about the order of events when the exceptions occur. My client is POSTing a message to a resource. When the problem occurs the

Re: Wrong snapshot

2009-07-15 Thread Thierry Boileau
Hello Lars and Fabian, I've updated the web site. Thanks Lars for reporting this error! have the best, Thierry Boileau Hi Jerome, http://www.restlet.org/downloads/ delivers the wrong snapshot. When someone tries to download http://www.restlet.org/downloads/snapshot.zip a

unsubscribe

2009-07-15 Thread ilango
Please unsubscribe me from the list   -ilango gurusamy -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2371516

Re: how to use Guard to protect confirmed URIs

2009-07-15 Thread Thierry Boileau
Hello Johnson, you can code your routing logic as follow (I mean in the Application#createRoot method). Router router = new Router(getContext()); /// Defines the routes, relatively to the root uri /customers) Router customerRouter = new Router(getContext()); customerRouter.attach(, ...); // the

Re: Wiring restlets internally (2.0snapshot from 2009-07-09)

2009-07-15 Thread Fabian Mandelbaum
Rob, thanks for your answer. I don't still understand how to implement this RIAP pseudo-protocol, can you please provide me with an example based on my classes? Also, I'm not trying to avoid duplicating code, but to have a different resource handle the original request, only for one method: GET

RE: unsubscribe

2009-07-15 Thread Jerome Louvel
Hi Ilango, If you can’t find your Tigris account ID, you can attempt to send an email to mailto:discuss-unsubscr...@restlet.tigris.org This info is available in the headers of each list’s message. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~

RE: bug?

2009-07-15 Thread Jerome Louvel
Hi Schley, For Maven refresh policy, please check: http://www.restlet.org/downloads/maven For Restlet 2.0 M4, I'd like to push it out by the end of the month. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~

Re: bug?

2009-07-15 Thread Schley Andrew Kutz
Gotcha. Thanks. -- -a Ideally, a code library must be immediately usable by naive developers, easily customized by more sophisticated developers, and readily extensible by experts. -- L. Stein On Jul 15, 2009, at 12:43 PM, Jerome Louvel wrote: Hi Schley, For Maven refresh policy,

Re: Wiring restlets internally (2.0snapshot from 2009-07-09)

2009-07-15 Thread Fabian Mandelbaum
Answering myself: I've finally decided to go back to the basics. I've realized (sometimes it takes longer than expected...) that both WRR and WRFR are actually the *same* resource, there's no need to separate them, at least not in my application. I would like to see some docs with an

Credentials

2009-07-15 Thread restletuser
I am a newbie using restlet framework. I would like to know how the user credentials can be passed to the resource for GET, POST, PUT operations. Can someone give insight on to this. -- View this message in context: http://n2.nabble.com/Credentials-tp3263991p3263991.html Sent from the Restlet