title: Tab menu with menu items having the same outcome
body: <p>I'm using PrimeFaces <code>&lt;p:tabMenu&gt;</code>. Two of my menuItems have the same outcome with different URL parameters. </p>
  
  <p>The behavior is the following : 
  When I click on each item, I'm redirected to the right page (In this example: <code>foo.xhtml</code> with two different f values). However only the first tab is highlighted.</p>
  
  <pre><code>&lt;p:tabMenu activeIndex="#{activeIndex}" styleClass="menuPanel"&gt;
          &lt;p:menuitem value="foo" outcome="/pages/foo.xhtml?f=all"&gt;
          &lt;/p:menuitem&gt;
          &lt;p:menuitem value="bar" outcome="/pages/foo.xhtml?f=me"&gt;
          &lt;/p:menuitem&gt;
          &lt;p:menuitem value="hi" outcome="/pages/hi.xhtml"&gt;
          &lt;/p:menuitem&gt;
  &lt;/p:tabMenu&gt;
  </code></pre>
  
  <p>Do you know how I could make the second tab work as expected, i.e. be highlighted whenever clicked ?</p>