On Thu, 3 May 2007 22:29:26 -0700 (PDT), Struts2 Fan <[EMAIL PROTECTED]> wrote:
> 
> Yes I checked them. I didn't write any validation for these fields. Struts
> 2
> controls double, int, date fields and if they are not valid it writes the
> message "Invalid field value for field "property.intValue" . I couldn't
> find
> where the message is defined. So I couldn't write the message for Turkish
> locale.
> 
> Here is the error message displayed. I didn't write anything for
> validation.
> It is a "integer" type field.
> http://www.nabble.com/file/8209/invalidFieldError.JPG
> 
> 

To provide your own conversion error message for a specific field, you will 
have to provide a resource message following the naming convention

invalid.fieldvalue.yourpropertyname

This should override the default message.

- Rene


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

Reply via email to