title: Richfaces 4 datatable rowclick is not hitting the listener method
body: <p>I am migrating an application from richfaces 3 to 4. And I am stuck at the datatable.</p>
  
  <p>The rowclick sends request to server and renders response, but not invoking the listener method. It is not even evaluating the method. I have tried giving a non-existing method name, it still doesn't complain at run time either. I am using the Richfaces 4.0.0 CR1 library.</p>
  
  <p>Anyone has a clue, please help me.</p>
  
  <p>Here is my datatable code.</p>
  
  <pre><code>&lt;rich:dataTable id="customersTable"
      value="#{customerBean.customerList}" 
          var="customer" 
          rowKeyVar="rowKey"&gt;
              &lt;a4j:ajax event="rowclick" 
                      listener="#{customerBean.makeRowEditable}"&gt;
               &lt;/a4j:ajax&gt;
          &lt;rich:column&gt;
              &lt;f:facet name="header"&gt;Id&lt;/f:facet&gt;
              #{customer.id}
          &lt;/rich:column&gt;
  
          &lt;rich:column&gt;
              &lt;f:facet name="header"&gt;Name&lt;/f:facet&gt;
              #{customer.name}
          &lt;/rich:column&gt;
  &lt;/rich:dataTable&gt;
  </code></pre>
  
  <p>The backing bean</p>
  
  <pre><code>package myapp;
  
  
  import java.util.ArrayList;
  import java.util.List;
  
  import javax.faces.event.AjaxBehaviorEvent;
  import org.apache.commons.logging.Log;
  import org.apache.commons.logging.LogFactory;
  
  public class CustomerBean {
  
      protected Log log = LogFactory.getLog(this.getClass());
      private List&lt;Customer&gt; customerList;
      private Customer selectedCustomer;
  
      public CustomerBean() {
          log.warn("CustomeBean is instantiated." + this);
  
          this.customerList = new ArrayList&lt;CustomerBean.Customer&gt;();
          customerList.add(new Customer(1, "One"));
          customerList.add(new Customer(2, "Two"));
          customerList.add(new Customer(3, "Three"));
          customerList.add(new Customer(1, "Four"));
      }
  
      public List&lt;Customer&gt; getCustomerList() {
          return customerList;
      }
  
      public void setCustomerList(List&lt;Customer&gt; customerList) {
          this.customerList = customerList;
      }
  
      public Customer getSelectedCustomer() {
          return selectedCustomer;
      }
  
      public void setSelectedCustomer(Customer selectedCustomer) {
          this.selectedCustomer = selectedCustomer;
      }
  
      public void makeRowEditable(AjaxBehaviorEvent event) {
          log.warn("CustomerBean. makeRowEditable: ");
      }
  
      public void selectCustomer(Customer customer) {
          this.selectedCustomer = customer;
          log.warn("CustomerBean. selectCustomer: customer = " + customer);
      }
  
  
      public void unselectCustomer() {
          log.warn("CustomerBean. unselectCustomer: ");
          this.selectedCustomer = null;
      }
  
  
      public class Customer {
          private int id;
          private String name;
  
          public Customer() {
          }
  
          public Customer(int id, String name) {
              this.id = id;
              this.name = name;
          }
  
          public int getId() {
              return id;
          }
  
          public void setId(int id) {
              this.id = id;
          }
  
          public String getName() {
              return name;
          }
  
          public void setName(String name) {
              this.name = name;
          }
      }
  }
  </code></pre>
  
  <p>Any help is appreciated :)</p>