I have an inputText component in my page and I have a action listener method in my bean. The action listener method is used by my input text component. This method is activated when the user click the Enter key, but nothing happen when the user click the tab key?
Is it normal? Why nothing happen when the user click the tab key? click the tab key is not an action? There is a way to activate my actionListener method when the user click the tab key? The only way to do this is use a value change event method?
Yes, in web hitting the tab key isn't normally an action. You can 'hack' this by adding javascript that makes a partialSubmit when the tab key is pressed in that inputText.
But then again, you should use partialSubmit="true" and a valueChangeListener to handle this situation.