[richfaces-issues] [JBoss JIRA] Commented: (RF-6234) Columns: sorting/filtering features dont work
Dave Whittaker (JIRA)
jira-events at lists.jboss.org
Tue Jul 28 18:39:29 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12477984#action_12477984 ]
Dave Whittaker commented on RF-6234:
------------------------------------
I am seeing the same problem. Data table displays on the page and shows the sort icon next to the table headings, clicking the heading will result in an ajax request, but looking at the debug info what gets returned from the server is the unsorted table with no change to the sort icon on the header that was clicked. I tried to step through the code to find the problem, but I'm not familiar enough with how rich:dataTable handles sorting to see where it's going wrong. I do see however that UIDataTable.createDataModel is not identifying any sort fields, if that helps at all. My faces markup is below.
<rich:dataTable id="list" value="#{adminReportAction.report.rows}" var="row"
styleClass="datatable" rendered="#{!empty adminReportAction.report.rows}">
<rich:columns id="column#{index}" value="#{adminReportAction.report.columnDefinitions}" var="columnDef" index="index"
sortBy="#{row.columns[index].value}" sortOrder="UNSORTED">
<f:facet name="header"]]#{columnDef.name}</f:facet>
<h:outputText value="#{row.columns[index].stringValue}"/>
<f:facet name="footer">
<a4j:outputPanel rendered="#{not empty columnDef.aggregator}">
#{columnDef.aggregator.name}: #{columnDef.aggregate}
</a4j:outputPanel>
</f:facet>
</rich:columns>
</rich:dataTable>
> Columns: sorting/filtering features dont work
> ---------------------------------------------
>
> Key: RF-6234
> URL: https://jira.jboss.org/jira/browse/RF-6234
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.3.0
> Reporter: Andrei Markavtsov
> Assignee: Nick Belaevski
> Fix For: Future
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list