Sunday, January 5, 2014

Custom MessageInterpolator for Validation ?

hi,
As you provide different i18n message bundles for each place / view I'm trying to provide different ValidationMessagesResolvers. But this seems to be quite difficult.
You define a custom ValidatorFactory derived from AbstractGwtValidatorFactory and a ValidationMessagesResolver in the module xml. But GWT always creates a UserValidationMessagesResolver in GwtMessageInterpolator, which gets created in turn in  AbstractGwtValidatorFactory#init(). But this init method is final...

Any ideas ?

TIA
kibu
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate