-
1. Re: DataScroller - change displayed rows numbers - below table
kwutzke May 23, 2012 1:37 PM (in response to multanis)Code?
-
2. Re: DataScroller - change displayed rows numbers - below table
multanis May 24, 2012 3:34 AM (in response to kwutzke)Oups, sorry I haven't noticed it was not visible (wrong insert). It is now...
Don't hesitate if you need more information...
-
3. Re: DataScroller - change displayed rows numbers - below table
jpapouse May 24, 2012 5:43 AM (in response to multanis)I've tried it with our testing application on JBoss AS 7.1.1 and RichFace 4.2.2.Final and I can't reproduce the described behaviour. Can you try RichFaces 4.2.2.Final?
In the case it doesn't work with RF 4.2.2.Final, please create a new issue in JIRA and provide information about your environmet (container), it would be great to attach a simple maven applicition reproducing the behaviour. You can assign the issue to me (jpapouse).
-
4. Re: DataScroller - change displayed rows numbers - below table
multanis May 24, 2012 5:47 AM (in response to jpapouse)I already tried with RichFaces 4.2.2.Final without any success.
Will try to create a small test case within a maven project.
Thanks !
-
5. Re: DataScroller - change displayed rows numbers - below table
multanis May 24, 2012 12:12 PM (in response to jpapouse)I managed to reproduce the problem in a simple example (see test.jspx and TestFace.java in attached files).
I alos noticed that having the dataScroller directlye below the table is working fine, while wrapping the table within a h:panelGroup is failing.
i.e.:
<h:selectOneMenu value="#{testFace.rows}"> <f:selectItem itemLabel="5" itemValue="5" /> <f:selectItem itemLabel="10" itemValue="10" /> <f:selectItem itemLabel="20" itemValue="20" /> <f:ajax render="table ds" /> </h:selectOneMenu> <h:panelGroup> <rich:dataTable value="#{testFace.datamodel}" rows="#{testFace.rows}" var="var" id="table"> <rich:column> <h:outputText value="#{var}"/> </rich:column> </rich:dataTable> </h:panelGroup> <rich:dataScroller id="ds" page="#{testFace.page}" for="table" />
I filled a Jira issue https://issues.jboss.org/browse/RF-12289 but I cannot assign it to you...