You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set any number let say number 5, then if you press enter inside of the inputnumber component your value (5) is lost and the default value (0) of the int is put it inside of the input.
Definitely this is a bug, im doing extensive tests with this component and i can see when the error is happend, the problem is not because is in the datatable, the problem is that if you press enter inside of the inputnumber and if you have a button (without default commanbutton, but of course your button has the type of submit by default) and press the Intro Key, the listener of the button is processed as a normal behavior but the value is never processed (even do if i use process, partial submit etc...). But if you lost the focus before press intro key (in any other component (like an input) and then press the same button or just press the intro key inside of the other input the value IS submitted, i guess because they do some logic only after the component losts its foucs, but in my case that inputnumber is the last input and there the user usually press the intro key here.
I use Primefaces 3.5.RC1 and PF. Extensions 0.6.3
The text was updated successfully, but these errors were encountered:
You can check all the info in primefaces extensions forum:
http://forum.primefaces.org/viewtopic.php?f=14&t=28324&p=89692#p89692
If you set any number let say number 5, then if you press enter inside of the inputnumber component your value (5) is lost and the default value (0) of the int is put it inside of the input.
Definitely this is a bug, im doing extensive tests with this component and i can see when the error is happend, the problem is not because is in the datatable, the problem is that if you press enter inside of the inputnumber and if you have a button (without default commanbutton, but of course your button has the type of submit by default) and press the Intro Key, the listener of the button is processed as a normal behavior but the value is never processed (even do if i use process, partial submit etc...). But if you lost the focus before press intro key (in any other component (like an input) and then press the same button or just press the intro key inside of the other input the value IS submitted, i guess because they do some logic only after the component losts its foucs, but in my case that inputnumber is the last input and there the user usually press the intro key here.
I use Primefaces 3.5.RC1 and PF. Extensions 0.6.3
The text was updated successfully, but these errors were encountered: