Please see the following code:
<h:panelGrid columns="2" border="0" cellpadding="0" cellspacing="0">
<p:inputText id="text" value="#{xTest.input}">
<p:ajax process="text" update="searchResult" event="keyup" />
</p:inputText>
<h:panelGroup layout="block" id="searchResult" style="border: none;">
#{xTest.input}
</h:panelGroup>
</h:panelGrid>
xTest
is just a dummy bean with a field to hold the input
, which is presented in the panelGroup
.
Now this works fine as long as I don't update @form
in the ajax tag. If I do, the ajax tag will fire the first keyup, but not after any subsequent. I've seen Balusc answer about commandLink/button problems: commandButton/commandLink/ajax action/listener method not invoked or input value not updated and maybe this has something to do with no 7 in that list. However, I don't understand it, and I would like to know what I can do to come around this problem.