This content has been marked as final.
Show 1 reply
-
1. Re: repeat and datascroller
ilya_shaikovsky Sep 26, 2007 5:48 AM (in response to srpantano)yes. It isn't trivial because in general - repeat component just an iterator and have no representation in DOM tree. So you need to update wrapper.
So:<a4j:outputPanel id="test"> <table> <tbody> <a4j:repeat value="#{capitalsBean.capitals}" var="cap" rows="10" id="table"> <tr> <td> <h:outputText value="#{cap.name}"/> </td> </tr> </a4j:repeat> </tbody> </table> </a4j:outputPanel> <rich:datascroller for="table" reRender="test"/>
Will work as you need I think.