convertNumber « IceFaces « JSF Q&A

3. convertNumber and Integer validation

Hi again! I took a look at the sources ... and the situation looks a little bit disappointing... After going through the convertNumber you get a Number (pretty logic). But this conversion make the stupidity of ignoring the wrong trailing chars ... Then ... the LongRage validator doesn't do anymore format validation, it just calls the doubleValue on this Number and ...

4. ConvertNumber throws exeption