[email protected]
[Top] [All Lists]

Re: Changing standard validation messages

Subject: Re: Changing standard validation messages
From: Howard Lewis Ship
Date: Wed, 18 Jan 2006 13:32:07 -0800
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]

<Prev in Thread] Current Thread [Next in Thread>