This content has been marked as final.
Show 3 replies
-
1. Re: InputNumberSpinner problem
sergeysmirnov Nov 29, 2007 6:57 PM (in response to manuel.martin)Works like designed.
Try to use onerror attribute for such exceptional situation. -
2. Re: InputNumberSpinner problem
manuel.martin Nov 30, 2007 3:15 AM (in response to manuel.martin)Well, I tried with the next code:
<rich:inputNumberSpinner value="#{myBean.counter}" onchange="alert(this.getValidValue())" onerror="alert(this.getValidValue())" minValue="0" maxValue="10" cycled="false" />
and onerror event is not raised. I tried with RichFaces 3.1.2.GA and 3.1.3.SP1 versions.
When the input value is corrected, the events onchange and onerror are not raised.
Thanks -
3. Re: InputNumberSpinner problem
ilya_shaikovsky Dec 3, 2007 6:55 AM (in response to manuel.martin)please try to use 3.2.0 latest snapshot.. some events including this component was refactored during previous week.