0 Replies Latest reply on Jun 25, 2012 11:01 AM by grattler

    What is triggering a valueChangeListener?

    grattler

      I am using a valueChangeListener in a h:inputText-field and it works.

      But the valueChangeListener was called not as often as expected.

       

      I want to enter the value 11.

      When I type 1, the valueChangeListener was called.

      When I type 11 and press tab, the valueChangeListener was called, too.

      This is not always the case, only sometimes.

      Most of the time the valueChangeListener was only called after pressing the tab-key.

       

      I have thought, the valueChangeListener was only called when I lost the focus of the field.

      Why is this not always the case?

       

      Kind regards

      Oliver