If the conversion to BigDecimal fails that either means that the input
is blank of invalid. Would you get the same effect as a regex
validatir if you made the BigDecimal property a required field?

On 8/25/08, ndario <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am trying to enforce BigDecimal number format with regex validator but
> validation simply does nothing. If I apply the same validator to the String
> property, validator works but for some reason does not work with BigDecimal.
> I guess the reason is that validation is applied to converted 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 list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Ealden Esto E. EscaƱan
http://blog.ealden.net

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to