struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndario <dario...@yahoo.com>
Subject Re: regex validator and BigDecimal
Date Mon, 25 Aug 2008 14:48:51 GMT



I should have said that I do have custom BigDecimal converter which throws
TypeConversionException if conversion fails. 

But users are still allowed to enter something like "344,5,6" which converts
successfuly but converted value may not be the one user wanted to enter.
That is why i want to give a warning that format is incorrect. 

I guess that cannot be done with regex validator and BigDecimal?

-- 
View this message in context: http://www.nabble.com/regex-validator-and-BigDecimal-tp19142200p19145282.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message