Re: T5.3: customize validation messages (2)

2011-08-10 Thread stephanos2k
Hm, I just noticed that on deployment this line appears in the logs: /Could not add object with duplicate id 'ValidationMessages'. The duplicate object has been ignored./ So what am I supposed to do - contribute my customized validation messages at first somehow or use a different id? -- Vie

T5.3: customize validation messages (2)

2011-08-09 Thread stephanos2k
In a http://tapestry.1045711.n5.nabble.com/T5-3-customize-validation-messages-td4659356.html previous post I was trying to figure out how to customize the validation messages and came up with this (using Scala): / def contributeComponentMessagesSource(assetSource: AssetSource,

Re: T5.3: customize validation messages

2011-08-08 Thread stephanos2k
*Solution:* The key must be "ValidationMessages" -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-customize-validation-messages-tp4659356p4676915.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5.3: customize validation messages

2011-08-04 Thread stephanos2k
I'm afraid I'd need a little more guidance than this. I tried this (in Scala) - which didn't seem to have any effect: /def contributeComponentMessagesSource(bundles: OrderedConfiguration[Resource], typeCoercer: TypeCoercer) { val path = "MyValidationMessages.properties" val re

Re: T5.3: customize validation messages

2011-08-04 Thread Emmanuel Demey
According to the release note, you should use the componentMessageSource service Demey Emmanuel Le 4 août 2011 à 16:46, stephanos2k a écrit : > I'll summarize the problem: *How do I change the default validation messages > in Tapestry 5.3?* > > -- > View this message in context: > http://tape

Re: T5.3: customize validation messages

2011-08-04 Thread stephanos2k
I'll summarize the problem: *How do I change the default validation messages in Tapestry 5.3?* -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-customize-validation-messages-tp4659356p4666592.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

T5.3: customize validation messages

2011-08-02 Thread stephanos2k
I'm running T5.3 and want to overwrite the existing validation messages. I created my own file 'MyValidationMessages.properties' and tried to contribute it. But I only found references to the deprecated 'contributeComponentMessagesSource', or hints to 'contributeComponentMessagesSource' - but I do