Re: Changes on the validator field-validator required

2018-02-23 Thread Greg Huber
Must have worked at some point, otherwise I would not have has the required in there in the first place. It was an easy change, so no problem. Chees Greg On 23 February 2018 at 16:51, Yasser Zamani wrote: > Did your form beans work in previous Struts version and now

Re: Changes on the validator field-validator required

2018-02-23 Thread Yasser Zamani
Did your form beans work in previous Struts version and now you have to change all? Or you get this error always with all Struts versions? On Feb 23, 2018, at 5:48PM, Greg Huber > wrote: I checked, and double value comes from ongl, and yes it

Re: Changes on the validator field-validator required

2018-02-23 Thread Greg Huber
I checked, and double value comes from ongl, and yes it wont be a null, so does not get validated. I get the struts error though. I have had to change all my form beans to be Doubles. https://struts.apache.org/core-developers/required-validator.html could do with an update warning no not to use

Re: Changes on the validator field-validator required

2018-02-23 Thread Yasser Zamani
On 2/23/2018 2:40 PM, Greg Huber wrote: > We use validator to make sure null is > not passed, but if I use a double it does not now validate, it wants a > Double for it to work. > > Has there been any changes, or has it always been like this? Did you mean it works in some versions as you

Changes on the validator field-validator required

2018-02-23 Thread Greg Huber
We use validator to make sure null is not passed, but if I use a double it does not now validate, it wants a Double for it to work. Has there been any changes, or has it always been like this? also, other validators work ie the min/max below, with the double. unspecified