Tuesday, January 24, 2012

JSR303 localized messages with RequestFactory

When the RequestFactory validates my domain objects using a jsr303
validator it gets localized contraint violation message and a message
key. I debuged the code and on the server side the default locale is
used no matter what locale is used on the client side. I did not find
any locale settings in the payload either.

Are there any examples how to treat localization in comibation with
RequestFactory and BeanValidation? Should the messages be translated
on the client or server side? What are the best practices?

Thanks!

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment