This content has been marked as final.
Show 1 reply
-
1. Re: <rich:datascroller ajaxSingle=
cash1981 Sep 25, 2008 5:32 AM (in response to e.morozov)Sorry, but your english is poor so I didn't understand what your question is.
But for the datascroller to work, you need first of all to have a session bean or use a4j:keepAlive for the bean.
You can just have the datascroller right after the dataTable and you dont need a4j:support. Try this code<h:form> <rich:dataTable value="#{bORequestOrderPositionsPanelBB.positions}" rows="5" var="position" id="boRequestOrderPositionsList" binding="#{bORequestOrderPositionsPanelBBView.dataTable}" rowKeyVar="keyVar"> <f:facet name="header"><h:outputText value="Product Code"/></f:facet> <rich:column> <h:outputText value="#{position.spareCardReadDto.productCode}"/> </rich:column> </rich:dataTable> <rich:datascroller align="left" for="boRequestOrderPositionsList" renderIfSinglePage="false" maxPages="20" /> </h:form>
For testing purposes you can put renderIfSinglePage to true