[richfaces-issues] [JBoss JIRA] (RF-13288) EDT: sortOrder gets re-set when resizing a column
Jonáš Trantina (JIRA)
jira-events at lists.jboss.org
Tue Oct 29 05:39:02 EDT 2013
[ https://issues.jboss.org/browse/RF-13288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825442#comment-12825442 ]
Jonáš Trantina commented on RF-13288:
-------------------------------------
This would mean waiting untill WFK 2.4, right? I will check with the customer.
> EDT: sortOrder gets re-set when resizing a column
> -------------------------------------------------
>
> Key: RF-13288
> URL: https://issues.jboss.org/browse/RF-13288
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.2
> Reporter: Jonáš Trantina
> Assignee: Lukáš Fryč
> Labels: waiting_on_user
> Attachments: reproducer.tar.gz
>
>
> I have the following extendedDataTable:
> {noformat}
> <rich:extendedDataTable value="#{sandboxHandler.workItems}"
> keepSaved="true" var="workitem" id="table">
> <rich:column sortBy="#{workitem}"
> sortOrder="#{sandboxHandler.sortingBean.sortsOrders['entryPD']}">
> <f:facet name="header">
> <h:outputText value="bla" />
> <uwl:simpleSortIcons sortingBean="#{sandboxHandler.sortingBean}"
> sortBy="entryPD" render="table" />
> </f:facet>
> <h:outputFormat value="{0, date, dd.MM.yyyy - HH:mm}">
> <f:param value="#{workitem}" />
> </h:outputFormat>
> </rich:column>
> </rich:extendedDataTable>
> {noformat}
> The issue is the sorting stops working after resizing a column. It gets stuck at ASC or DESC. This is caused by ELResolver, that is setting sandboxHandler.sortingBean.sortsOrders['entryPD'] back to the old value right after the SortingBean has done its job and set the right sort order.
> Note that before resizing the column everything works fine and nobody (except SortingBean) touches the sortOrders map.
> Please see the attached reproducer app, that is debug-friendly and shows the behaviour.
--
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