0 Replies Latest reply on Jan 22, 2008 3:08 AM by rhardy5014

    dataTable row selection

    rhardy5014

      Hi,
      I have a problem with a data table in richfaces 3.1.2

      I have a table, with several columns. In the first column is an image with an a4j:support tag as follows:

      <a4j:outputPanel rendered="#{user.bearbeiter}"
       layout="block">
       <h:graphicImage value="/images/pencil.jpg">
       <a4j:support immediate="true"
       actionListener="#{eventEditManager.editEvent}"
       reRender="popupForm:editEventPanel"
       event="onclick"
       eventsQueue="generalEventQueue"
       oncomplete="releaseAjax();openModalPopup('resultsPagePopup');">
       <f:attribute name="eventId" value="#{result.event.id}"/>
       </a4j:support>
       </h:graphicImage>
       </a4j:outputPanel>

      The intention is that I can click on the image and popup a modalPanel to show data on that row.

      For the first image clicked, everything is fine.

      However, after looking at the modal panel, and closing it, I then click on another row's image. This time the actionListener is never called.

      I then immediately try again, clicking on exactly the same row's image, and it works correctly.

      It seems that every other time I click on an image, it does not call the action listener.

      Can anyone tell me what I am doing wrong?

      Thanks,
      Richard.