[richfaces-issues] [JBoss JIRA] Created: (RF-10734) table sorting error with an odd amount of entries

Chris P (JIRA) jira-events at lists.jboss.org
Thu Mar 10 11:03:46 EST 2011


table sorting error with an odd amount of entries
-------------------------------------------------

                 Key: RF-10734
                 URL: https://issues.jboss.org/browse/RF-10734
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.0.0.CR1
         Environment: Tomcat 6.0.24, Mojarra 2.0.4, RichFaces M6/CR1
            Reporter: Chris P


The alternating (asc/desc) Table Sorting does not work correctly with an uneven amount ob rows.

If the table consists of 15 rows, the specified action (for example action="#{capitalsSortingBean.sortByCapitals} ) is called 15 times (when clicked on the action link). (I assume it should be called only once...?)

In the richfaces-showcase example with the US-states there are 50 states, the specified action gets called 50 times when clicked on the table header (the action link). Each time the action method is called, the internal sort order gets switched (between ascending and descending).



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list