Re: regex validator and BigDecimal

2008-08-25 Thread ndario
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

Re: regex validator and BigDecimal

2008-08-25 Thread Oleg Mikheev
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,

Re: regex validator and BigDecimal

2008-08-25 Thread ealden
; 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

regex validator and BigDecimal

2008-08-25 Thread ndario
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