6 Replies Latest reply on Oct 29, 2009 3:49 AM by Žiga Gantar

    rich:columns sorting works only once

    Žiga Gantar Newbie

      When trying to use sorting on rich:columns it works only for the first time. No mater which column header is clicked it only works first time, other times it only issues ajax request but nothing happens. That ajax request is issued can be seen using a4j:region.

       <rich:columns value="#{resultDates}" var="date" styleClass="realCol" sortBy="#{reportComparableConverter.getComparableString(date, dsrcWrapper)}"
       sortOrder="#{columnsSortOrders[date]}">
       <f:facet name="header">
       <h:panelGroup><g:interval-date date="#{date}"/></h:panelGroup>
       <h:panelGroup><h:outputText value="#{gemaValuesConverter.formatIntervalDate(date)}"/></h:panelGroup>
       </f:facet>
       <g:qualified-value value="#{resultDateItems[date][dsrcWrapper.dataSource]}" pattern="#{dsrcWrapper.formatPattern}"/>
       </rich:columns>