Re: Identifier null in JsonRepresentation in client side

2009-08-18 Thread Laurent Rustuel
Hello Jerome, Jerome Louvel a écrit : The JsonRepresentation class doesn't act as a WrappedRepresentation. Therefore, the JsonRepresentation(Representation) constructor should only be used as a facility to parse the enclosed representation into a JSON artifact. In your case, you need to

RE: Identifier null in JsonRepresentation in client side

2009-08-16 Thread Jerome Louvel
] Envoyé : mardi 28 juillet 2009 16:01 À : discuss@restlet.tigris.org Objet : Identifier null in JsonRepresentation in client side Hello, I am having trouble getting identifier from a Response to a request. In my resource class, I create a JsonRepresentation and identifier is set like

Identifier null in JsonRepresentation in client side

2009-07-28 Thread Laurent Rustuel
Hello, I am having trouble getting identifier from a Response to a request. In my resource class, I create a JsonRepresentation and identifier is set like this : result.setIdentifier(getRequest().getResourceRef().getIdentifier() + profileId); (where profileId is the id of a profile created by