Hello
I am writing to you, because I have been trying to make the following code snippet work in all ways I could think of without success.
Basically, I wan't the InlineInput to fire an event on keyup - but it only fires when the user leaves the field, and/or returns to set new values.
I am developing with RichFaces 3.2 and Seam 2.1 on JBossAS 4.2.3.
Here is the code snippet:
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <h:form> <p><rich:inplaceInput value="#{jobSearch.searchString}" > <a4j:support event="onkeydown" reRender="outtext" /> </rich:inplaceInput></p> <h:inputText value="#{jobSearch.category}" > <a4j:support event="onkeydown" reRender="outtext" /> </h:inputText> </h:form> <h:outputText id="outtext" value="#{jobSearch}" /> </ui:composition>
Hello Agata,
Works fine for me with 3.3.0.