I have some Validators classes. I use those classes in the client
code, so I think to use Constants:

For example, in some part of my AccountValidator I have this:

errors.add(myConstants.accountTypeRequired());

That works great for GWT compiled code. But what about if I need to
use this same validator on the server and I want to send the errors on
a Exception through the rpc service?

How can I handle i18n in a class that I use in server classes and in
client classes?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to