Thank you for tip Martin ...
I tried both YourValidator.properties or YourValidator.utf8.propertiesit
right now, but the feedback message was empty string ("") in both cases.I found one working solution: Call setMessage(...) on validator, which provides validation message, if no key is found in properties files. But solution with using standard *.properties file would be still nicer for me, if possible. On Sun, Dec 27, 2015 at 8:25 PM, Martin Grigorov <[email protected]> wrote: > Hi, > > I don't have my IDE with me now, so I can't verify but > YourValidator.properties staying next to YourValidator.class should work. > On Dec 27, 2015 8:28 PM, "Štefan Šimík" <[email protected]> wrote: > > > I have separate *.jar containing custom form-component validators. > > (in the *.jar file, there are only validators - no other Components, no > > WebPage(s), > > no WebApplication) > > > > MY QUESTION: > > Which *.properties file should I create for these validators, so the > > validator classes > > and their default messages can be contained together in one *.jar? > > >
