0 Replies Latest reply on Aug 31, 2007 6:39 AM by Thai Dang Vu

    what's my problem: a4j:support doesn't work anymore after re

    Thai Dang Vu Apprentice

      Hi everybody,

      This is my managed bean:

       private List<Integer> userIds;
       public void addRow(ActionEvent e) {
       // getter and setter for userIds

      This is my xhtml page:
      <a4j:form id="formId">
       <h:panelGroup id="userIdsTable">
       <rich:dataTable var="userId" value="#{hBean.userIds}" id="dataTableId">
       <rich:column><h:inputText value="#{userId}"/></rich:column>
       <h:graphicImage value="/images/add-row.gif">
       <a4j:support event="onclick" actionListener="#{hBean.addRow}" reRender="userIdsTable"/>

      I can click on the image the 1st time and the addRow method is called. But after that, nothing is working anymore. Where's my problem? :(