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
ndario wrote:
Is there any way to validate the string before conversion to BigDecimal?
The right (and default) way of handling conversion errors is to
use the Conversion Error Interceptor:
http://struts.apache.org/2.x/docs/conversion-error-interceptor.html
There is no converter for BigDecimal,
; object but not on the string which user entered.
>
> Is there any way to validate the string before conversion to BigDecimal?
>
> thanks!
>
> Dario
> --
> View this message in context:
> http://www.nabble.com/regex-validator-and-BigDecimal-tp19142200p19142200.html
> Se
BigDecimal
object but not on the string which user entered.
Is there any way to validate the string before conversion to BigDecimal?
thanks!
Dario
--
View this message in context:
http://www.nabble.com/regex-validator-and-BigDecimal-tp19142200p19142200.html
Sent from the Struts - User mailing
4 matches
Mail list logo