title: Primefaces additional attribute with ajax event
body: <p>I have this tabview component:</p>
  
  <pre><code>&lt;p:tabView id="tabView"
          var="tab"
          dynamic="true"
          cache="true"
          value="#{integrationBean.tabs}"&gt;
  
          &lt;p:ajax event="tabChange"
              listener="#{integrationBean.tabChanged}"
              update="tabContent"/&gt;
  </code></pre>
  
  <p>And i need to pass attribute to the ajax request.
  Something like </p>
  
  <pre><code>&lt;p:ajax event="tabChange"
                  listener="#{integrationBean.tabChanged}"
                  update="tabContent"&gt;
  &lt;f:param name="id" value="#{integrationBean.id}" /&gt;
  &lt;!-- OR --&gt;
  &lt;f:attribute name="id" value="#{integrationBean.id}" /&gt;
  &lt;!-- Neither of this works --&gt;
  &lt;/p:ajax&gt;
  </code></pre>
  
  <p>So i can do</p>
  
  <pre><code>@Value("#{request.getParameter('id')}")
  protected Long id;
  </code></pre>
  
  <p>on my bean.
  How to pass this param to the request?</p>