]
Lukáš Fryč updated RF-13288:
----------------------------
Fix Version/s: (was: 4.3.4)
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: