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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Mar 11 10:37:46 EST 2011


     [ https://issues.jboss.org/browse/RF-10734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski resolved RF-10734.
---------------------------------

    Resolution: Done


> 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
>            Assignee: Nick Belaevski
>             Fix For: 4.0.0.Final
>
>
> 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