Hi all,
sorry to bring back the post but I'm having problems while trying to use
KtrI18N.
The thing is that I have an Enum class that shouldn't know if the code is
running on the client or server side. A little code:
public enum Status{
OPEN {
@Override
public String getI18N() {
return labels.statusOpen();
}
},
CLOSED {
@Override
public String getI18N() {
return labels.statusClosed();
}
}
Labels labels = KtrI18N.createConstants(Labels.class);
public abstract String i18n();
}
So this code should run both in client and server. The problem is: it
doesn't work at the client side. I checked the KtrI18N website and there is
an eclipse plugin to create the supersource trick for you, but I couldn't
make it work. Any ideas?
thanks in advance,
cheers!
--
Lucas de Oliveira Arantes
--
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.