Re: JSR303 localized messages with RequestFactory

2013-10-08 Thread Manu Botija
I have given it a go. Here is my working code Now that I understand how this works, I wonder if there is a simpler solution for just setting the default Interpolator locale... This guy here seems to have a

Re: JSR303 localized messages with RequestFactory

2013-10-08 Thread Manu Botija
Hi André, Would you mind sharing the code from your solution so that implements Jens idea? It would be great for newbies like me looking for a solution for this problem. Thanks! Manu On Friday, 11 May 2012 13:45:49 UTC+2, André Salvati wrote: > > I've just translated messages to portuguese in

Re: JSR303 localized messages with RequestFactory

2012-05-11 Thread André Salvati
I've just translated messages to portuguese into a new ValidationMessages.properties file and put it into classpath. Hibernate Validator autodetects this new configuration. Thanks. Em sexta-feira, 11 de maio de 2012 05h24min33s UTC-3, Jens escreveu: > > No I don't know the exact references anym

Re: JSR303 localized messages with RequestFactory

2012-05-11 Thread Jens
No I don't know the exact references anymore. But I am pretty sure it should work this way. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolk

Re: JSR303 localized messages with RequestFactory

2012-05-10 Thread André Salvati
Hi Jens, do you remember references for your tips?? Have anyone tested this solutions?? Thanks. Em terça-feira, 14 de fevereiro de 2012 17h33min11s UTC-2, Jens escreveu: > > Just googled a bit because I have never thought about it and based on the > search results I think I would try it the

Re: JSR303 localized messages with RequestFactory

2012-02-14 Thread Jens
Just googled a bit because I have never thought about it and based on the search results I think I would try it the following way (untested): 1.) Send the current client side locale as a HTTP header (e.g. X-GWT-LOCALE) to the server using a custom RequestTransport for RequestFactory (extend De

Re: JSR303 localized messages with RequestFactory

2012-02-14 Thread Handw
+1. I also want to know. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/57FbAFJ2ijUJ. To post to this group, send email to google-web-toolkit@g

JSR303 localized messages with RequestFactory

2012-01-24 Thread Peter Quiel
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