[richfaces-issues] [JBoss JIRA] Created: (RF-3791) dataScroller: problem with sorting of rich:dataTable contained rich:dataScroller component inside.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Tue Jun 24 09:38:28 EDT 2008


dataScroller: problem with sorting of rich:dataTable contained rich:dataScroller component inside.
--------------------------------------------------------------------------------------------------

                 Key: RF-3791
                 URL: http://jira.jboss.com/jira/browse/RF-3791
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: IE6, IE7, FF, Opera, Safari
            Reporter: Mikhail Vitenkov
         Assigned To: Konstantin Mishin


Step 1. Add  dataScroller component inside rich:dataTable, supported sorting & filtering features, following way:
<rich:dataTable id="dataTableId" value="#{dataScroller.dataTable}"... >
		<f:facet name="header">
			<rich:datascroller ajaxSingle="#{dataScroller.ajaxSingle}" ...>
...
			</rich:datascroller>
		</f:facet>
		<f:facet name="footer">
			
		</f:facet>
		<rich:column sortBy="#{dT.data0}" filterBy="#{dT.data0}" filterEvent="onchange">
			<h:outputText value="#{dT.data0}" />
		</rich:column>
		<rich:column sortBy="#{dT.data1}" filterBy="#{dT.data1}" filterEvent="onchange">
			<h:outputText value="#{dT.data1} " />
		</rich:column>
	</rich:dataTable>
Step 2. Navigate on the page.
Step 3. Navigate to the 3rd page using dataScroller.
Step 4. Click on sorting icon("Ascending").
Step 5. Verify dataTable columns' content currently displayed.
Step 6. Click on "Next" dataScroller link & verify the number of page being displayed.

Actual behavior:
Step 5: 3rd datatable page contained 10 page's content;
Step 6: after "Next" is clicked - 11th page is displayed instead of 4th.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list