title: p:accordionPanel not working with AJAX in JSF
body: <p>I have this problem with my according panel. I am trying to use a function that can be triggered whenever I change that tab but the problem is that I am not getting anything. Here is my code. Hope you can help me.</p>
  
  <pre><code>&lt;h:form&gt;
      &lt;p:accordionPanel id="layerListAccordionPanel"
                        multiple="true" activeIndex="-1"
                        value="#{CompleterBean.liste}" var="category"&gt;
  
          &lt;p:ajax event="tabClose" listener="#{CompleterBean.onTabChange}" /&gt;
          &lt;p:ajax event="tabChange" listener="#{CompleterBean.onTabClose}" /&gt;
  
          &lt;p:tab id="layerPanel" title="#{category.date_fin}" closable="true"&gt;
              Test
          &lt;/p:tab&gt;
      &lt;/p:accordionPanel&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>and in my bean</p>
  
  <pre><code>public void onTabClose(TabCloseEvent event) {
      System.out.println("close");
  }
  
  public void onTabChange(TabChangeEvent event) {
      System.out.println("open");
  }
  </code></pre>