[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-9824) rich:extendedDataTable - sorting using component API doesn't work

Andrey Markhel (JIRA) jira-events at lists.jboss.org
Fri Dec 10 13:37:52 EST 2010


    [ https://issues.jboss.org/browse/RF-9824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569347#comment-12569347 ] 

Andrey Markhel edited comment on RF-9824 at 12/10/10 1:37 PM:
--------------------------------------------------------------

Lukas, could you check sortMode?
If multi sort mode is selected, sorting is performed by the selected columns and the previous selected column is more relevant than following one.
If single sort mode is selected, sorting is performing by only the selected column.

      was (Author: amarkhel):
    Lukas, could you check sortMode?
If multi sort mode is selected, sorting is performed by the selected columns and the previous chosen column is more relevant than following one.
If single sort mode is selected, sorting is performing by only the selected column.
  
> rich:extendedDataTable - sorting using component API doesn't work
> -----------------------------------------------------------------
>
>                 Key: RF-9824
>                 URL: https://issues.jboss.org/browse/RF-9824
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.0.Milestone4
>         Environment:     * RichFaces 4.0.0-SNAPSHOT r.20025
>     * Metamer 4.0.0-SNAPSHOT r.20066
>     * Mojarra 2.0.3-FCS
>     * Apache Tomcat 6.0.29
>     * OpenJDK Runtime Environment 1.6.0_18-b18 @ Linux
>     * Firefox 3.6.12 @ Linux x86_64
>            Reporter: Lukas Fryc
>            Assignee: Lukas Fryc
>             Fix For: 4.0.0.Milestone5
>
>
> Using following steps you can get into state inconsistent which what is expected and what is also working in rich:dataTable sample [1]:
> 1. open http://localhost:8080/metamer/faces/components/richExtendedDataTable/sorting-using-component-control.xhtml
> (table is initially sorted by states)
> 2. click "sort capital" button
> (table is sorted by capitals)
> 3. click "sort state"
> FAIL: nothing happens (sorted by capitals)
> 4. click "sort capital"
> FAIL table is sorted by states!!!
> The similar behaviour can be detected for using sort() method to sort table ("sort table" button).
> [1] http://localhost:8080/metamer/faces/components/richDataTable/simple.xhtml

-- 
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