[richfaces-issues] [JBoss JIRA] Commented: (RF-7517) rich:dataTable + rich:columns -> sortBy doing nothing
Leonid Sokolin (JIRA)
jira-events at lists.jboss.org
Tue Mar 2 16:23:10 EST 2010
[ https://jira.jboss.org/jira/browse/RF-7517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12517679#action_12517679 ]
Leonid Sokolin commented on RF-7517:
------------------------------------
So, which configuration has this issue resolved? It doesn't work for me either.
See the code below:
<rich:column id="portBenchName" sortBy="{piQueryToolOutputBeanPR.statOutData.prodBenchNames[rKV]}">
<h:outputText value="#{piQueryToolOutputBeanPR.statOutData.prodBenchNames[rKV]}"/>
</rich:column>
> rich:dataTable + rich:columns -> sortBy doing nothing
> -----------------------------------------------------
>
> Key: RF-7517
> URL: https://jira.jboss.org/jira/browse/RF-7517
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 3.3.1
> Environment: WinXP SP3
> Reporter: Matthias Hryniszak
> Assignee: Nick Belaevski
>
> 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