A warning for those who use this hack: your app will mysteriously
break when a future version of Tapestry adds a new validation
message, and it isn't in your custom .properties file! I know this
from experience.
I agree that it would be really nice to have a better way to
customize this. With all that hi-tech Hivemind machinery, there must
be a good way....
Cheers,
Paul
On Jan 18, 2006, at 9:15 AM, Ron Piterman 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]
_________________________________________________________________
Piano music podcast: http://inthehands.com
Other interesting stuff: http://innig.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]