title: Primefaces update only selected tab
body: <p>I have a situation where I want to update multiple components on a page when a "select" event is triggered.  <em>However</em>, two of the locations are within a tabView, and I only want to update those components if they are within the currently selected tab.  I <em>suspect</em> that what I'm looking for is something like this...</p>
  
  <pre><code>&lt;p:ajax event="select" 
          update="@(&lt;don't know what to put here&gt; .ui-tabs-selected)" 
          listener="#{treeSelectionView.onNodeSelect}" /&gt;
  </code></pre>
  
  <p>But I'm not certain.  </p>
  
  <p>Another tactic I tried was just making the tabView dynamic="true", but when I call the update from the p:ajax tag, it pulls the data even when the tabs aren't selected. :(</p>
  
  <p>I'm new with Primefaces, and have liked what I've seen so far.  This seems like it shouldn't be too difficult, but I'm missing the mark somehow.  Also, I'm having a difficult time finding documentation or examples that will help me.  Hopefully, I'm just looking in the wrong places. :)</p>
  
  <p>Thanks in advance.</p>