RE: Re: how to reuse ServerResource to store multiple resource and retrieve it?

2010-12-21 Thread webpost
I see. Let me confirm the concept.

if I need more than two levels? say "contacts/{category}/{id}"

Would it be correct conceptually:  

router.attach("/contact/{category}/{id}", ContactServerResource.class);

and in ContactServerResource, 

String categoryName= (String)getRequestAt​tributes().get("category")​;

So I create a nested if else within ContactServerResource to simulate the 
multiple levels? Is this the best practice or the way you guys do it?

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2692668


RE: Post method not work when deployed to GAE

2010-12-21 Thread Joe Dec
Are there any experiences on this? Is this issue reproducible?

Thanks,
Joe

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2692538


Re: GWT Client Logger error

2010-12-21 Thread Thierry Boileau
Hello Dustin,

unfortunately, the 2.0.3 release does not contain the fix whereas the next
release 2.0.4 will contain it.
We can release the 2.0.4 tomorrow.

Best regards,
Thierry Boileau

 Thanks, Thierry.
>
> Just to be clear, the 2.0.3 version will have this fix once updated?
>
> Thank you, again,
> Dustin
>
>
>
> On 20/12/10 12:56 PM, Thierry Boileau wrote:
>
> Hello Dustin,
>
> I've fixed it a few days later in the svn repository. The snapshot and
> maven repository will be updated in a one hour.
>
> Best regards,
> Thierry Boileau
>
>
>  I'm using Restlet 2.0.3 JSE and GWT editions.
>>
>> There appears to be a known issue with regards to this error during the
>> gwtc part of a build:
>>
>> [ERROR] The method getAnonymousLogger() is undefined for the type Logger
>>
>> But it seemed as though a fix was going to be present in the 2.0.2/2.0.3
>> branch.  Did it not make it in?  I know the current 2.1 snapshot works fine,
>> but I'd like to stay with released versions for the time being; or rather
>> the build maintenance people would.
>>
>> Is there a workaround for this issue using the 2.0.3 version?
>>
>> Thanks!
>> Dustin
>>
>> --
>>
>>
>>  Dustin N. Jenkins | Tel/Tél: 250.363.3101 |
>> dustin.jenk...@nrc-cnrc.gc.ca
>>
>> facsimile/télécopieur: (250) 363-0045
>>
>> National Research Council Canada | 5071 West Saanich Rd, Victoria BC. V9E
>> 2E7
>>
>> Conseil national de recherches Canada | 5071, ch. West Saanich, Victoria
>> (C.-B) V9E 2E7
>>
>> Government of Canada | Gouvernement du Canada
>>
>
>
> --
>
>
>  Dustin N. Jenkins | Tel/Tél: 250.363.3101 | dustin.jenk...@nrc-cnrc.gc.ca
>
> facsimile/télécopieur: (250) 363-0045
>
> National Research Council Canada | 5071 West Saanich Rd, Victoria BC. V9E
> 2E7
>
> Conseil national de recherches Canada | 5071, ch. West Saanich, Victoria
> (C.-B) V9E 2E7
>
> Government of Canada | Gouvernement du Canada
>

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2692365