3 Replies Latest reply on Aug 25, 2008 7:46 AM by konstantin.mishin

    Action in Datatable works only once

    booroo

      Hi,
      I've got a problem with my datatable. I would like to store a value of a row object into a value of another bean. The problem is, this works only once. If I click the second time the button in another row, nothing happens (method setTrxTime won't be called).

      What am I doing wrong?

      Many thanks for helping me!

      Cheers Boris



      <rich:column sortBy="#{rowLevelBean.matchState}">
      <f:facet name="header">
      <h:outputText value="#{mbCodes.matching}" />
      </f:facet>
      <a4j:commandButton value="See details" reRender="acqPopup" id="det">
      <rich:componentControl for="acqPopup"
      operation="show" event="onclick"
      disableDefault="true"/>
      <a4j:actionparam value="#{rowLevelBean.trxTime}" assignTo="#{matchingBean.trxTime}"/>
      </a4j:commandButton>
      </rich:column>