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
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,
*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.
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
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
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.
--
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