You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use custom MessageInterpolator for DefaultFXFormValidator #175
I would like to use a ResourceBundleMessageInterpolator in combination with an AggregateResourceBundleLocator for resolving my JSR 303 validation messages from multiple ValidationMessages.properties files. I have not seen an API for setting the MessageInterpolator when using DefaultFXFormValidator so as a workaround I subclassed it and used this code in the constructor of the subclass :
Activity
amischler commentedon Dec 6, 2018
Currently there is not better approach than overriding the behavior in a subclass.
This should be possible to improve the
DefaultFXFormValidatorAPI so that a customMessageInterpolatorcan be set. I mark this issue as improvement.oova commentedon Dec 7, 2018
Good to know, thanks!