[richfaces-issues] [JBoss JIRA] Commented: (RF-7517) rich:dataTable + rich:columns -> sortBy doing nothing
Žiga Gantar (JIRA)
jira-events at lists.jboss.org
Mon Jul 20 05:55:29 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-7517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476819#action_12476819 ]
Žiga Gantar commented on RF-7517:
----------------------------------
In my current configuration, 3.3.1. GA, the problem still exists. Is there any plan to correct this problem? Or is there any other way I can make this work? The proposed solution from Nick doesn't work, I added sortOrder="USORTED" to columns declaration. This is a major issue for us!
> rich:dataTable + rich:columns -> sortBy doing nothing
> -----------------------------------------------------
>
> Key: RF-7517
> URL: https://jira.jboss.org/jira/browse/RF-7517
> Project: RichFaces
> Issue Type: Bug
> Components: component-tables
> Affects Versions: 3.3.1
> Environment: WinXP SP3
> Reporter: Matthias Hryniszak
> Assignee: Tsikhon Kuprevich
>
> Using the following markup sorting does not work at all on columns:
> <rich:dataTable id="table" value="#{localeHandler.locales}" var="row" rows="15">
> <rich:columns value="#{localeHandler.columns}" var="column" index="i" sortBy="#{row[column]}" sortOrder="#{localeHandler.sortOrder[column]}" >
> <f:facet name="header">
> <h:outputText value="#{column}"/>
> </f:facet>
> <h:outputText value="#{row[column]}"/>
> </rich:columns>
> <f:facet name="footer">
> <rich:datascroller id="scroller" for="table" page="#{localeHandler.currentPage}" />
> </f:facet>
> </rich:dataTable>
> Whereas the localeHandler is a bean with the following properties:
> - columns - List<String> containing property names (language, displayLanguage, and so on)
> - locales - List<java.util.Locale> generated from Locale.getAvailableLocales()
> Current result: sorting is not working
> Expected result: sorting works as expected.
--
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