Don't know if I've understood this correctly, but the intention for 4.1 is to add a system that allows me to provide my own properties files for the standard Tapestry validation messages? And this will happen through a global configuration point, and not in every .jwc and .page file I write?
Inge On 1/18/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > This is on my list of things that need to happen in 4.1; I've hit the > same problems others have, when I've tried to define new validators. > > On 1/18/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > > I hope this will be fixed in 4.1, but currently, AFAIK, there is only a > > hack you can use: in your project create a new .properties file with the > > same name and package as the properties file in the valid package in the > > tapestry source. > > Cheers, > > Ron > > > > Inge Solvoll wrote: > > > One very common need for me is to change the messages that the > tapestry > > > validators return on validation errors, to get the messages I want and > to > > > achieve localization. > > > > > > Is there a way to plug in these message keys globally, say in > hivemodule.xml? > > > Or is the only way to specify which message to use every time I use > the > > > validator in a .page or .jwc file? I hope not, because everything else > about > > > the new validation system is so great and easy to use, without > copy/paste of > > > code and xml between pages. > > > > > > Thanks > > > > > > Inge > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator, Jakarta Tapestry > Creator, Jakarta HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
