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=4447dsMessageId=2692538


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=4447dsMessageId=2692668