Because it is just an input element, not some action element.
Add a h:commandButton to the form and specify the actionListener in there.
Joined: Mar 09, 2009
That's the problem. I can't use a button because I have only a barcode scanner as input. No mouse, no keyboard.
Does a solution exist without button or commandLink?
Thanks for your help.
Joined: Oct 08, 2006
Well, continue misusing the valueChangeEvent then. That's the easiest way.
If you want the event to happen during the invoke application phase, so that it would behave like during actionListener, then you need to queue the event.