title: Primefaces 3.0 DataTable inCell editing , RowEditEvent doesn't retrieve updated field
body: <p>I am working on a sample app with primefaces 3 , using datatables incell editing mode. Although when i edit , i see the event.getObjects gives me the object which is not modified.</p>
  
  <p>Changed the property of the object on debug mode, it does update.</p>
  
  <p>So i couldn't figure out why i cant get the edited property.</p>
  
  <p>Below are my eventlistener method and the xhtml;</p>
  
  <p>Any pointers are welcomed </p>
  
  <p>Thanks in advance</p>
  
  <p><strong>EventListener</strong></p>
  
  <pre><code>public void editListener(RowEditEvent event){
      System.out.println("EDIT LISTENER");
      update((Employer)event.getObject());
  
  }
  </code></pre>
  
  <p><strong>JSF :</strong></p>
  
  <pre><code>   &lt;h:form id="form"&gt;
                  &lt;h1&gt;&lt;h:outputText value="List"/&gt;&lt;/h1&gt;
                  &lt;p:dataTable value="#{employer.employers}" var="item" paginator="true" rows="10" style="width:300px"&gt;
                      &lt;p:column&gt;
                          &lt;f:facet name="header"&gt;
                              &lt;h:outputText value="Id"/&gt;
                          &lt;/f:facet&gt;
  
                          &lt;h:outputText value="#{item.id}"/&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Name"&gt;
                          &lt;p:cellEditor&gt;
                              &lt;f:facet name="output"&gt;
                                  &lt;h:outputText value="#{item.name}"/&gt;
                              &lt;/f:facet&gt;
                              &lt;f:facet name="input"&gt;
                                  &lt;p:inputText value="#{item.name}"&gt;&lt;/p:inputText&gt;
                              &lt;/f:facet&gt;
                          &lt;/p:cellEditor&gt;
                      &lt;/p:column&gt;
                      &lt;p:column&gt;
  
                          &lt;f:facet name="header"&gt;
                              &lt;h:outputText value="Surname"/&gt;
                          &lt;/f:facet&gt;
                          &lt;h:outputText value="#{item.surname}"/&gt;
  
                      &lt;/p:column&gt;
                      &lt;p:column&gt;
  
                          &lt;f:facet name="header"&gt;
                              &lt;h:outputText value="Phone"/&gt;
                          &lt;/f:facet&gt;
                          &lt;h:outputText value="#{item.phone}"/&gt;
  
                      &lt;/p:column&gt;
                      &lt;p:column&gt;
  
                          &lt;f:facet name="header"&gt;
                              &lt;h:outputText value="Email"/&gt;
                          &lt;/f:facet&gt;
                          &lt;h:outputText value="#{item.email}"/&gt;
  
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Options" style="width:50px"&gt;
                          &lt;p:rowEditor /&gt;
                      &lt;/p:column&gt;
                      &lt;p:ajax event="rowEdit" listener="#{employer.editListener}"&gt;&lt;/p:ajax&gt;
                  &lt;/p:dataTable&gt;
              &lt;/h:form&gt;
  </code></pre>