Hello,
I'm using the following code to add Ajax functionality to a <h:inputText>:
<h:form id="myform">
<h:inputText id="myinput" value="#{userBean.name}">
<a4j:support event="onkeyup" reRender="outtext" />
</h:inputText>
<h:outputText id="outtext" value="#{userBean.name}" />
</h:form>
It works fine, but now I'm trying to set a short delay to slow down the output in <h:outputText>. The output should only appear when the user stops typing for several seconds.
Any idea how to add a delay to <a4j:support>?
Thanks!!!
altes-kind