This content has been marked as final.
Show 4 replies
-
1. Re: rich:column filterBy and inputText
zelenka Aug 16, 2010 4:11 AM (in response to zelenka)I have found out if I type the characters slowly (one character, wait for rerender etc.) the values in inputTexts are OK. But if I type it fast then the values are changed.
-
2. Re: rich:column filterBy and inputText
zelenka Aug 17, 2010 4:47 AM (in response to zelenka)This seems to solved the problem. But I still don't know why ...
<rich:column filterExpression="#{...}"> <f:facet name="header"> <h:inputText id="input" value="#{...}"> <a4j:support event="onkeyup" reRender="table" ignoreDupResponses="true" requestDelay="500" oncomplete="setCaretToEnd(event)"/> </h:inputText> </f:facet>
-
3. Re: rich:column filterBy and inputText
ilya_shaikovsky Aug 18, 2010 4:57 AM (in response to zelenka)could probably answer "why"... was probablye caused by the fact that in order to update filtering - you using reREnder of the table. And the responce (before you added delay) came in moment when you still typing - so the input value became updated to the state in which it was during request sending time.
-
4. Re: rich:column filterBy and inputText
zelenka Aug 18, 2010 6:01 AM (in response to ilya_shaikovsky)Thanks for your answer.