title: Messages are not displaying when i uses ajax
body: <p>I wanna display success message after calling this method on row edit in data table but it's not displaying for me.Please help</p>
  
  <pre><code>  public String onRowEdit(RowEditEvent event) {
               FacesMessage msg = new FacesMessage(((SearchMaintenanceFields) event.getObject()).getFieldName(), "has been updated Successfully");
               FacesContext.getCurrentInstance().addMessage(null, msg);
               setUpdateFlag(true); 
               return "searchMaintenance.xhtml?faces-redirect=true";
          }
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;p:ajax event="rowEdit" onstart="PF('dlg').show();" oncomplete="PF('dlg').hide();" listener="#{vaultSearchMaintenanceFields.onRowEdit}"
    update="fieldListTable" /&gt;
  </code></pre>
  
  <p>fieldListTable id of data table where i kept this ajax call</p>