RE: T5: Validation message defaults

2008-10-07 Thread Blower, Andy
Okay, I've raised a JIRA TAP5-253 for this.

 -Original Message-
 From: Blower, Andy
 Sent: 01 October 2008 15:04
 To: 'Tapestry users'
 Subject: T5: Validation message defaults

 I'm trying to set up validation for our forms and I need to customise
 the default validation messages. Unfortunately there doesn't seem to be
 a way to do this as contributing to ValidationMessagesSource just adds
 new messages for new validators. I need to change the default messages
 to what we need.

 I know that we can override the message for each field name in the
 message catalogs, but this is undesirable ( expensive with extra
 translations needed) because they'll all be the same. The only solution
 I've found is to override this with a properties file in the
 tapestry5.internal package but this doesn't work in every environment
 so it's not really a good solution.

 Can anyone help with this or is there a JIRA or something?

 Thanks,

 Andy

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5: Validation message defaults

2008-10-01 Thread Blower, Andy
I'm trying to set up validation for our forms and I need to customise the 
default validation messages. Unfortunately there doesn't seem to be a way to do 
this as contributing to ValidationMessagesSource just adds new messages for new 
validators. I need to change the default messages to what we need.

I know that we can override the message for each field name in the message 
catalogs, but this is undesirable ( expensive with extra translations needed) 
because they'll all be the same. The only solution I've found is to override 
this with a properties file in the tapestry5.internal package but this doesn't 
work in every environment so it's not really a good solution.

Can anyone help with this or is there a JIRA or something?

Thanks,

Andy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]