0 Replies Latest reply on Jul 1, 2009 4:25 PM by solstice_pan

    RowKeyVar not updated in rich:orderingList

      Hi Guys,

      can someone explain me why the attribute rowKeyVar in the component <rich:orderingList > is not updated when i changed the order in the datatable !?

      for example.

      DataTable:
      product one | row 0
      product two | row 1

      change the product order in the table

      Datatable:
      product tow | row 1 => should be 0
      product one | row 0 => should be 1

      
      <rich:orderingList
       id="ordertabelle"
       value="#{bean.method}"
       rowKeyVar="rkv"
      
       <rich:column>
       <f:facet name="header">
       Description
       </f:facet>
       <a4j:outputPanel>
      
       <a4j:support
       event="onclick"
       requestDelay="500"
       reRender="auswahlpanel"
       action="bean.method" />
      
       #{backingBean.method}
      
       </a4j:outputPanel>
      </rich:column>
      
      <rich:column>
       <f:facet name="header">
       another Description
       </f:facet>
       <a4j:outputPanel>
      
       <a4j:support
       event="onclick"
       requestDelay="500"
       reRender="auswahlpanel"
       action="bean.method" />
      
       #{backingBean.method}
      
       </a4j:outputPanel>
      </rich:column>
      
      
      </rich:orderingList>