[richfaces-issues] [JBoss JIRA] (RF-12928) ExtendedDataTable: columnsOrder doesnt work after changing order

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Apr 23 16:02:54 EDT 2013


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

Brian Leathem commented on RF-12928:
------------------------------------

I wrote a test to verify this behavior:
https://github.com/richfaces/components/blob/master/iteration/ui/src/test/integration/org/richfaces/component/extendedDataTable/TestColumnsOrder.java

While not a documented feature, I used the above test to demonstrate that the _columnsOrder_ worked from 4.0.0.Final to 4.2.3.Final.  With the 4.3.0.Final release, changes in _columnsOrder_ after the initial render were not reflected in the EDT.

I corrected this issue by evaluating the expression behind the _columnsOrder_ in the EDT renderer, rather than simply using the attribute retrieval.
                
> ExtendedDataTable: columnsOrder doesnt work after changing order
> ----------------------------------------------------------------
>
>                 Key: RF-12928
>                 URL: https://issues.jboss.org/browse/RF-12928
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.3.1
>         Environment: Tomcat 7, Mojarra 2.1.21 
>            Reporter: dako ak
>              Labels: regression
>             Fix For: 4.3.2
>
>         Attachments: JSF2-RichFaces-Test.zip
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> According to the resolved bug RF-11776 I've tried the attribute "columnsOrder" in ExtendedDataTable.
> I have a simple test case with a data table and an action button. Within the action button method I change the String Array of the attribute columnsOrder but the columns of the data table is rendered in the old order. 
> I have appended a test project to reproduce it. In this test project I have an a4j ajax button and a simple button, both arent working.
> Best regards

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list