users@jersey.java.net
Re: how to serialize enumerations ? (Jersey Client)
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Felipe Gaścho <
fgaucho_at_gmail.com
>
Date
: Wed, 28 Oct 2009 21:55:14 +0100
I tried:
@XmlEnum
public enum CompetitionStatus {
@XmlEnumValue("NEW") NEW,
@XmlEnumValue("CALL_FOR_PAPERS") CALL_FOR_PAPERS,
@XmlEnumValue("EVALUATION") EVALUATION,
@XmlEnumValue("HISTORY") HISTORY
}
and it continue to fail ...
------- the entity class:
http://kenai.com/projects/puj/sources/arena/content/arena-model/src/main/java/com/kenai/puj/arena/model/entity/PujCompetitionEntity.java
------- the Jersey Client code:
http://kenai.com/projects/puj/sources/arena/content/arena-dwr/src/main/java/com/kenai/puj/arena/web/dwr/ListHomeworks.java
* for now, I turned the reference to the entity transient in the
homework list.. but I plan to map this issue to other cases...
This message
: [
Message body
]
Next message
:
Zoltan Arnold NAGY: "singleton resources"
Previous message
:
Paul Sandoz: "Re: [Jersey] how to install a ContainerRequestFilter using the SpringServlet?"
In reply to
:
Felipe Gaúcho: "how to serialize enumerations ? (Jersey Client)"
Next in thread
:
Paul Sandoz: "Re: [Jersey] Re: how to serialize enumerations ? (Jersey Client)"
Reply
:
Paul Sandoz: "Re: [Jersey] Re: how to serialize enumerations ? (Jersey Client)"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]