[richfaces-issues] [JBoss JIRA] Commented: (RF-7517) rich:dataTable + rich:columns -> sortBy doing nothing

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Mar 2 17:28:10 EST 2010


    [ https://jira.jboss.org/jira/browse/RF-7517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12517690#action_12517690 ] 

Nick Belaevski commented on RF-7517:
------------------------------------

Leonid,

Have you checked the related issue? Are you using rich:columns or 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