Re: Int Validator

2013-07-13 Thread Alireza Fattahi
Thanks. Do you know how can I change below message: Invalid field value for field "amount" ?!   ~Regards, ~~Alireza Fattahi From: Dave Newton To: Struts Users Mailing List Sent: Saturday, 13 July 2013, 16:16 Subject: Re: Int Validator The f

Re: Int Validator

2013-07-13 Thread Dave Newton
The field value error comes from the type conversion process. The field should be an int or an Integer, with the caveat that an int has a default value of 0, which may not be desirable. Save On Jul 12, 2013 11:56 PM, "Alireza Fattahi" wrote: > Hi, > > I want to validate the amount filed to be a