there are two question that pop up in my mind:

1. has your Module been loaded?

2.  is there another override of the ValidationMessagesSource

g,
kris



Von:    Igor Drobiazko <[email protected]>
An:     Tapestry users <[email protected]>
Datum:  02.02.2011 11:27
Betreff:        Re: Nothing happens when overriding default validation 
messages



Your code should definitely work with 5.2.4. Your should see either an
overriden message or a message about a missing key.

On Wed, Feb 2, 2011 at 11:08 AM, Stephan Windmüller <
[email protected]> wrote:

> Hi!
>
> I am trying to override the default validation messages with this:
>
> ----
>
> public void contributeValidationMessagesSource(
>    OrderedConfiguration<String> configuration) {
>        configuration.override("Default",
>        "myclasspath/ValidationMessages",
>        "before:*");
> }
>
> ----
>
> In short: It does nothing. There are still the default validation
> messages printed. I am not even getting an error when I rename my
> ValidationMessages.properties to something different.
>
> What am I doing wrong?
>
> Thanks
>  Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Reply via email to