Arrrrgh!
I just didn't have it in the right location. It was in the package structure alright,
just in the war root, not WEB-INF/classes.
Now, however, I'm getting this:
User name can not be less than null characters.
Why doesn't it know how many characters?
-----Original Message-----
From: Fenderbosch, Eric
Sent: Tuesday, September 30, 2003 15:56
To: [EMAIL PROTECTED]
Subject: Application Resources & Error messages
I'm confused on how error messages work. I've created a properties file
TrackMessageResource.properties in the proper package structure and specified it in my
struts-config like this:
<message-resources
null="false"
parameter="com.*****.cc.track.struts.TrackMessageResources"/>
I'm using the validator plugin and it is returning error messages like:
???en_US.errors.minlength???
In TrackMessageResource.properties I have:
errors.minlength={0} can not be less than {1} characters.
This application is not going to be I18N so I only want/need one message resource
file. I don't understand why validator can't find the correct error message. Any
help would be appreciated.
Thanks.
Eric
---------------------------------------------------------------------
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]