Created
February 14, 2014 11:29
-
-
Save DemkaAge/8999603 to your computer and use it in GitHub Desktop.
JSR-303 custom MessageInterpolator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomMessageInterpolator extends ResourceBundleMessageInterpolator { | |
public static final String NEW_PATH_VALIDATION_MESSAGES = "<newPath>/ValidationMessages"; | |
public CustomMessageInterpolator() { | |
super(new CustomPlatformResourceBundleLocator(NEW_PATH_VALIDATION_MESSAGES)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment