I set up <h:inputText> in a <rich:column> to act as a filter input in a <rich:dataTable>.
I then added <a4j:support>.
However, if I do this:
<h:inputText id="cnFilter" >
<a4j:support event="onkeyup" >
<a4j:actionparam name="filterValue" value="b" />
</a4j:support>
</h:inputText>
Then
Object filterFieldObject = context.getExternalContext().getRequestParameterMap().get("filterValue"); //filterFieldObject = "b" But this does not give me the inputText value. So how can I read the value of the inputText field in the backing bean after the onkeyup event -- or, pass the value to an actionparam so I can read it?
Hi John,
you have to use a value-binding <h:inputText id="cnFilter" value="#{bean.xxxx}">
regards
andreas