java - f:validateDoubleRange not working when added currency symbol added to that textbox -
i new jsf. adding currency validation textbox.i using f:validatedoublerange validating textbox minimum , maximum characters.my textbox working fine when haven't currency added if added currency textbox f:validatedoublerange not working.can me out this.thanks in advance.
<f:validatedoublerange minimum="20.00" maximum="20000.99" />
here , minimum , maximum properties type of javax.el.valueexpression , must evaluate java.lang.double . can't validate values include currency symbol.
if want validate these values, can use <f:validateregex>
or custom validator.
Comments
Post a Comment