On Wed, May 2, 2012 at 8:23 AM, Sultan Kosaev <[email protected]> wrote:

> I can't extend List<News>.T he error I get from Eclipse is: "The type
> List<News> cannot be the superclass of NewsList; a superclass must be a
> class"
>

Sorry, I meant that you have to extend a concrete type, like ArrayList.


>
> My question is, how do you pass the List<T> to client-side if you needed
> this? (Please show an example with JacksonRepresentation).
>

You can't do this currently.



> I would be very grateful to you if you help me understand
>

Some of this is basic Java knowledge that really doesn't belong on this
list.


P.S.I know how to send single field with jackson representation, but I do
> not know how to pass arrays, such as List<T>
>

List<T> is not an array.

--tim

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

Reply via email to