odd problem with form posts

2013-12-11 Thread Sean Hogan
I have been having a problem for a while, that comes and goes. Recently it came back and won't go. :-( This is Restlet 2.1.4, Java EE edition. Sometimes when a client posts a non-empty form with application/x-www-form-urlencoded, the form arrives empty at the @Post method. As you might be

RE: GWT Restlet cross domain Put request

2013-12-11 Thread Andy Dennie
When the browser sends the OPTIONS pre-flight request, the server needs to respond with a Access-Control-Allow-Methods header indicating which methods are supported for CORS requests. I'm doing something like this (hopefully the formatting won't get mangled...): SeriesHeader

Nested object de-serialization in JsonRepresentation not working

2013-12-11 Thread Ramesh
I have an Order class and OrderDetail model as described below. class Order { long id; String description; CollectionOrderDetail details; public CollectionOrderDetail getDetails() { return details; } other methods } class OrderDetail { long id; String