1 Reply Latest reply on Mar 27, 2007 5:08 PM by Sergey Smirnov

    Question about rowKeys

    Dustin Norlander Apprentice

      I have an app where I am updating specific rows within a a4j:repeat (thanks to sergey for pointing me in the right direction). It works great if I use the row index, but I would like to have the rowKey be the primary id of the object. This is how I would expect it to work, but it doesnt:

      <a:repeat value="#{emailBean.emailList}"
      id="emailList"
      ajaxKeys="#{emailBean.reRenderRowKeys}"
      var="email"
      rowKey="#{email.id}">
      <h:outputText id="updateMe" value="#{emailBean.text}" />
      
      </a:repeat>
      


      How do I use rowKey?

      thanks,
      Dustin