In fact you don't need to overwrite the ValidationStrings.properties
which is supposed to be the default one. You just need to have the
ValidationStrings_{locale_code}.properties. In order to add french
validation to Tapestry I created a Tapestry-french-validation.jar in the
lib with the following
Marilen Corciovei a écrit :
In fact you don't need to overwrite the ValidationStrings.properties
which is supposed to be the default one. You just need to have the
ValidationStrings_{locale_code}.properties. In order to add french
validation to Tapestry I created a Tapestry-french-validation.jar
On Tue, 2006-12-19 at 11:22 +0100, Cyrille37 wrote:
Marilen Corciovei a écrit :
In fact you don't need to overwrite the ValidationStrings.properties
which is supposed to be the default one. You just need to have the
ValidationStrings_{locale_code}.properties. In order to add french
http://tapestry.apache.org/tapestry4.1/usersguide/localization.html
See the namespace message catalogs
Marilen Corciovei wrote:
On Tue, 2006-12-19 at 11:22 +0100, Cyrille37 wrote:
Marilen Corciovei a écrit :
In fact you don't need to overwrite the ValidationStrings.properties
which
for custom validation messages you can do something like this:
input jwcid=... validators=validators:required[%your-message-key]/
note the % in front of the message key
read more here:
http://tapestry.apache.org/tapestry4.1/usersguide/validation.html
On Tue, 19 Dec 2006 11:22:31 +0100,
On 12/19/06, Marilen Corciovei [EMAIL PROTECTED] wrote:
In fact you don't need to overwrite the ValidationStrings.properties
which is supposed to be the default one. You just need to have the
ValidationStrings_{locale_code}.properties. In order to add french
validation to Tapestry I created a
I think you have to use this dirty solution.
There is an issue about this problem, it is currently scheduled for
4.1.2 (http://issues.apache.org/jira/browse/TAPESTRY-698).
Regards:
Norbi
Cyrille37 írta:
Hello,
I was coming mad when trying to localize my validation messages.
After some
Norbert Sándor wrote:
I think you have to use this dirty solution.
Ok, I'll use another way : injecting the message into the Validator
bean name=uploadFileValidator
class=tap03.ui.web.validators.DocumentsUploadFileValidator
set name=messageUnauthorizedContenttype
The resourse bundle files need to be on the classpath. Try moving them
to WEB-INF/classes.
Malin Ljungh wrote:
Gah! Please save me from madness...
I've posted earlier about validation messages. I'm now stuck on
getting them
localized. I keep getting the following exception:
Hi Malin,
That's because Tapestry looks for username-not-unique in the properties
file bundeled with Tapestry. To override it, your
ValidationStrings.properties should have this path
{CLASS_PATH_ROOT}/org/apache/tapestry/valid/ValidationStrings.properties.
To do that:
create the package
Yeeehaa! It works :D
Thank you Firas!
TACK ;)
/Malin
On 8/2/06, Firas Adiler [EMAIL PROTECTED] wrote:
Hi Malin,
That's because Tapestry looks for username-not-unique in the properties
file bundeled with Tapestry. To override it, your
ValidationStrings.properties should have this path
11 matches
Mail list logo