t example?
Sam Bao | Software Engineer | Cerner Corporation | 816.201.8242 | [EMAIL PROTECTED] | www.cerner.com
-Original Message-
From: Bao,Sam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 13, 2008 10:55 AM
To: discuss@restlet.tigris.org
Subject: RE: Re: URI won't
Corporation | 816.201.8242 | [EMAIL
PROTECTED] | www.cerner.com
-Original Message-
From: Bao,Sam [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:55 AM
To: discuss@restlet.tigris.org
Subject: RE: Re: URI won't match what's attached to the router
Thanks Stephan, That had been my
I've got the following resource attached to my router:
Router router = new Router(getContext());
router.attach(/conditions, ConditionsResource.class);
router.attach(/facts, FactsResource.class);
router.attach(/risks, RisksResource.class);
Hello Sam,
you can update the personid variable in order to make it facultative:
Route route = router.attach(/lastRiskEval/{personid},
LastRiskEvaluationResource.class);
// You can use other Variable.TYPE_...
Variable variable = new Variable(Variable.TYPE_ALPHA_DIGIT, , false,
false);
:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:03 AM
To: discuss@restlet.tigris.org
Subject: Re: URI won't match what's attached to the router
Hello Sam,
you can update the personid variable in order to make it facultative:
Route route = router.attach(/lastRiskEval/{personid
Message-
From: Thierry Boileau [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:03 AM
To: discuss@restlet.tigris.org
Subject: Re: URI won't match what's attached to the router
Hello Sam,
you can update the personid variable in order to make it facultative:
Route route = router.attach
, May 13, 2008 10:42 AM
To: discuss@restlet.tigris.org
Subject: Re: URI won't match what's attached to the router
Hi Sam,
by default a variable is supposed to eat at least one character. In your
case, the route /lastRiskEval/{personid} cannot match the URI
/lastRiskEval/.
Another question is what
.
-Original Message-
From: Thierry Boileau [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:42 AM
To: discuss@restlet.tigris.org
Subject: Re: URI won't match what's attached to the router
Hi Sam,
by default a variable is supposed to eat at least one character. In your case, the route
| 816.201.8242 | [EMAIL
PROTECTED] | www.cerner.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:52 AM
To: discuss@restlet.tigris.org
Subject: Re: URI won't match what's attached to the router
Hi Sam,
you could also create a resource
Hi Sam,
I'm glad you got this working.
lowPriority
It seems that your started this new thread by replying to an email from
the java.util.zip.ZipException: no current ZIP entry..Any ideas thread.
It causes newsgroup clients to display your thread under the initial
thread, which is not very
10 matches
Mail list logo