gwt 1.7, jdk 6.
I have a java enum in an object which I send to the client. This works
fine in hosted mode. When I deployed the war in tomcat, i get the
"type was not included in the set of types which can be serialized"
exception. My enum is defined as...
public interface AttributeConstantsIfc extends ConstantsIfc {
public static enum Attribute {
ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4,
START_TIME(1), END_TIME(1);
private final int type;
Attribute() {
this.type = 2;
}
Attribute(int type) {
this.type = type;
}
...
...
}
}
Thanks
gd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---