title: Dynamic Primefaces:tabView doesn't update
body: <p>I'm using Primefaces 3.4 (also tried 3.3) and Mojarra 2.1.7. But I have a problem updating my dynamical tabs within a p:tabView.</p>
  
  <p>I have 2 buttons which should add an additional tab. The first button is outside the p:tabView. When clicking this button, the backing bean is called, the p:tabView is updated, and the new tab is shown. But when I click the second button, which is inside a tab of that tabView, the backing bean is called, but the tabView is NOT updated.</p>
  
  <p>This lack of updating occures only in dynamic tabs. When I modify the given example to have only one tab, and displaying a value which changes when clicking the buttons, the tabView is updated by both buttons, and the new Value is shown. So it is an problem only occuring in dynamic tabs.</p>
  
  <p>Here is my code.</p>
  
  <pre><code>   &lt;f:view contentType="text/html"&gt;
          &lt;h:form&gt;
              &lt;p:commandButton value="press me" action="#{idTestBean.addTab}" update=":ApplicationTab"/&gt;
          &lt;/h:form&gt;
  
          &lt;p:tabView id="ApplicationTab" cache="false" dynamic="false"  var="tab" value="#{idTestBean.tabList}"&gt;
              &lt;p:tab title="tab" closable="false" &gt;
                  &lt;p:panel&gt;
                      &lt;h:form&gt;
                          &lt;p:commandButton value="press me" action="#{idTestBean.addTab}" update=":ApplicationTab"/&gt;
                      &lt;/h:form&gt;
  
                      #{idTestBean.count}
                  &lt;/p:panel&gt;
  
              &lt;/p:tab&gt;
          &lt;/p:tabView&gt;
      &lt;/f:view&gt;
  </code></pre>
  
  <p>The different tabs contains separate forms that needed to be submitted separate. therefore I had the approach of more than one form.</p>