igine-
De : Vincent Ricard [mailto:[EMAIL PROTECTED]
Envoyé : mardi 30 septembre 2008 15:51
À : discuss@restlet.tigris.org
Objet : RE: [RFC] WadlResource, get a param value according to the
description
Hi Jerôme,
Sorry to answer so late, i'm a little busy :)
I created the corresponding
Hi Jerôme,
Sorry to answer so late, i'm a little busy :)
I created the corresponding issue:
http://restlet.tigris.org/issues/show_bug.cgi?id=604
> Actually, the template value should be "0;service=hihi" and not just
> "hihi".
> Isn't it?
Actually, i expected "hihi", i believed ';' was a separat
3 septembre 2008 11:06
À : discuss@restlet.tigris.org
Objet : RE: [RFC] WadlResource, get a param value according to the
description
Hi Jérôme,
> Does it make more sense now?
Yes :)
I added the support of multi-value & multi-style parameters (see the
attached Services.java).
If you load th
Hi Jérôme,
> Does it make more sense now?
Yes :)
I added the support of multi-value & multi-style parameters (see the
attached Services.java).
If you load the attached webapp, then try
http://localhost:8080/my-webapp/restlet/service/0;service=hihi?service=foo
You get this:
0;service=hihi hihi
-founder ~ http://www.noelios.com
-Message d'origine-
De : Vincent Ricard [mailto:[EMAIL PROTECTED]
Envoyé : lundi 22 septembre 2008 16:10
À : discuss@restlet.tigris.org
Objet : RE: [RFC] WadlResource, get a param value according to the
description
Hi Jérome
> However, in this case
Hi Jérome
> However, in this case, how do you deal with the fact that you could have
> several parameters with the same name but different type?
Since i didn't need, i didn't think about this :-) Do you mean we can have
something like this in a WADL?
Is it not a bit weird?
BTW, when i
: Re: [RFC] WadlResource, get a param value according to the
description
Thanks Vincent
This was actually helpful for me
--
From: "Vincent Ricard" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2008 9:49 AM
To:
Subject: [RFC] WadlResour
Thanks Vincent
This was actually helpful for me
--
From: "Vincent Ricard" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2008 9:49 AM
To:
Subject: [RFC] WadlResource, get a param value according to the description
Hi,
Here is
Hi,
Here is what i added to my WadlResource subclass (and the super class of
all my resources): [see below].
I think it would be nice (in a future version) to have a similar method
directly available in WadlResource.
For now, this code just fulfills my needs:
- it does not handle multi-valued pa
9 matches
Mail list logo