I'm trying to understand why you want this... If you don't want the field validated at all, just remove the validation?
If you want the field validated normally, but don't when it fails type coversion.... that just seems od and I can't picture the use case.... Perhaps if you explained why, someone could figure out a good approach?
Joined: Sep 10, 2004
I have a field Double and if the user input a String value - I get a blank error and the update is not executed.
so how can I tell what's the user's input for a Double field?
subject: struts2: howto avoid validation even if the input is inconsistent with the data type?