title: <p:ajax> Unable to attach <p:ajax> to non-ClientBehaviorHolder parent
body: <p>I use JSF 2 , primefaces 4.0 and i try to use DataTable - In-Cell Editing as it's produced in  primefaces showcase, but i have an error althought i copied the same example shown in showcase 
  the error is </p>
  
  <pre><code>&lt;p:ajax&gt; Unable to attach &lt;p:ajax&gt; to non-ClientBehaviorHolder parent
  </code></pre>
  
  <p>this is the xhtmlpagecode</p>
  
  <pre><code> &lt;rich:panel  style="width : 800px; height : 551px; " &gt; 
       &lt;f:facet name="header" &gt;
  
  &lt;h:outputText value="Tableau des articles" align="center" style="FONT-SIZE: small;"/&gt;
              &lt;/f:facet&gt;
  
  
      &lt;h:form id="form"&gt;
  
     &lt;p:dataTable id="cars" var="car" value="#{articlesbean.LMatpilotaccess1}" editable="true" editMode="cell" widgetVar="carsTable"&gt;  
  
          &lt;f:facet name="header"&gt;  
              Matériel du pilotage et accessoires 
          &lt;/f:facet&gt;  
    &lt;p:growl id="messages" showDetail="true"/&gt;  
  
      &lt;p:contextMenu for="cars" widgetVar="cMenu"&gt;     
          &lt;p:menuitem value="Edit Cell" icon="ui-icon-search" onclick="PF('carsTable').showCellEditor();return false;"/&gt;    
          &lt;p:menuitem value="Hide Menu" icon="ui-icon-close" onclick="PF('cMenu').hide()"/&gt;    
      &lt;/p:contextMenu&gt;   
  
  
          &lt;p:column headerText="Serie" style="width:25%"&gt;  
                 &lt;p:ajax event="cellEdit" listenner="#{articlesbean.onCellEdit}" update=":form:messages" /&gt; 
  
                 &lt;p:cellEditor&gt;  
                     &lt;f:facet name="output"&gt;&lt;h:outputText value="#{car.serie}" /&gt;&lt;/f:facet&gt;  
                     &lt;f:facet name="input"&gt;&lt;p:inputText id="modelInput" value="#{car.serie}" style="width:96%"/&gt;&lt;/f:facet&gt;  
                 &lt;/p:cellEditor&gt;  
             &lt;/p:column&gt;  
  
  
  
      &lt;/p:dataTable&gt;  
  
  
      &lt;/h:form&gt;
  
  
  
  
  &lt;/rich:panel&gt;
  </code></pre>
  
  <p>and this is my bean </p>
  
  <pre><code>@ManagedBean(name="articlesbean")
  
  @ViewScoped
  public class ArticlesBean implements Serializable{
  
      @Inject
      private ArticlesDAO articleDAO;
      @Inject
      private Matpilotaccess1 matpilotaccess1;
      @Inject
      private Matpilotaccess2 matpilotaccess2;
      @Inject
      private Poteaux poteaux ;
      @Inject
      private Travgc1 travgc1;
      @Inject
      private Travgc2 travgc2;
      @Inject
      private Travresurbain travresurbain;
  
  
      private List LMatpilotaccess1 = new ArrayList();
      private List LMatpilotaccess2 = new ArrayList();
      private List LPoteaux = new ArrayList();
      private List LTravgc1 = new ArrayList();
      private List LTravgc2 = new ArrayList();
      private List LTravresurbain = new ArrayList();
  
  
  
  
      public void onCellEdit(CellEditEvent event) {  
          Object oldValue = event.getOldValue();  
          Object newValue = event.getNewValue();  
  
          if(newValue != null &amp;&amp; !newValue.equals(oldValue)) {  
              FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, "Cell Changed", "Old: " + oldValue + ", New:" + newValue);  
              FacesContext.getCurrentInstance().addMessage(null, msg);  
          }  
      } 
  
      //// Getters and setters
  </code></pre>