[richfaces-issues] [JBoss JIRA] Created: (RF-7517) rich:dataTable + rich:columns -> sortBy doing nothing
Matthias Hryniszak (JIRA)
jira-events at lists.jboss.org
Mon Jul 13 11:26:29 EDT 2009
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
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}" >
<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