>this to work you need to define the property in your ActionForm as a
>String, not a Double.
Hi ,
I have treid this but couldnt find any luck, now instead of a defaut
value "0.0" in the case of 'Double' the invalid 'char/string' gets stored in
the database. As if the validtion is not working at all for 'depends=
double'
I tried to extend 'ValidatiorActionForm' instead of 'ActionForm' since there
is no '.js' like 'validateDouble.js' for 'double'.
Then being a financial project I really dont want to change it to a
'String' data type from a 'Double' so that
no precision is lost if I ever have to cast it to a 'Double' while
implementing b.Logic in the future.. To be frank enough I started to look
for a '.js' function so that I can do the validation for 'Double' in the
client side itself.
Thanking you all
Antony
--
View this message in context:
http://www.nabble.com/Validation-not-working-for-%27double%27-with-Struts-1.2-t1754076.html#a4787921
Sent from the Struts - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]