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
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
Hi,
I want to validate the amount filed to be an integer with minimum value of 1
I describe the field type as Integer (not int )
Add below validation rule
${getText("validate.required")}
10
${getText("validate.int.min")}
Hello my int validator stopped working after upgrade to 2.1.8 from
2.1.6. Can someone please, provide some insight?
My validators are defined like this and they used to work fine before.
Now string validators are working but not the int ones
ravi_eze wrote:
hi,
I see that the previous valid int value is being populated when i enter null
in an integer text field. I want to show error in such a case. Any ideas how
to get this done.
The scenario is as follows:
1. When i enter no value in F1: i get validation error asking me to fill
give some string/ char in int field its throwing errors as expected.
any help ???
cheers,
ravi
--
View this message in context:
http://www.nabble.com/required-Int-validator--How-to.-tp17761272p17761272.html
Sent from the Struts - User mailing list archive at Nabble.com
ay, June 14, 2007 10:50 PM
Subject: [S2] int validator for longs?
>I noticed there's only two bundled numeric data type validator (int,
>double). Is there any reason the S2 "int" validator can't be used for long
>field validations (or other data types w/out de
I noticed there's only two bundled numeric data type validator (int, double).
Is there any reason the S2 "int" validator can't be used for long field
validations (or other data types w/out decimals)?
p.s. The http://struts.apache.org/2.x/docs/validation.html page is mis
8 matches
Mail list logo