title: action isn't invoked at the first click
body: <p>i have a page with authentification which forword to my template page where there is menus.</p>
  
  <pre><code>  &lt;navigation-rule&gt;
      &lt;from-view-id&gt;pages/login.xhtml&lt;/from-view-id&gt;
      &lt;navigation-case&gt;
        &lt;from-outcome&gt;userOK&lt;/from-outcome&gt;
        &lt;to-view-id&gt;pages/template.xhtml&lt;/to-view-id&gt;
      &lt;/navigation-case&gt;
      &lt;navigation-case&gt;
        &lt;from-outcome&gt;userNOK&lt;/from-outcome&gt;
        &lt;to-view-id&gt;pages/login.xhtml&lt;/to-view-id&gt;
      &lt;/navigation-case&gt;    
    &lt;/navigation-rule&gt;
  </code></pre>
  
  <p>my page template.xhtml</p>
  
  <pre><code>&lt;h:form&gt;
  &lt;p:menu type="plain" style="width:200;box-shadow: 6px 6px 6px black;top:-18;left:-40" &gt;
      &lt;p:submenu label="Dossier" id ="Dossier" &gt;  
          &lt;p:menuitem update=":contentform,:messages" value="Nouveau Dossier" action="#{choix.setPage('ajoutDossier')}" 
      ....
      ....
  &lt;/h:form&gt;
  
  &lt;h:form id="contentform" &gt;
      &lt;h:panelGroup  rendered="#{choix.page == 'ajoutDossier'}"&gt;
          &lt;ui:include src="Dossier/ajoutDossier.xhtml" /&gt;
      &lt;/h:panelGroup&gt;
      ....
      ....
  &lt;/h:form&gt;
  </code></pre>
  
  <p>the problem is that action isn't invoked at the first click i have to click 2 time , and before i click many time and action isn't invoked, and sometimes juste p:submenu which are in the last position work </p>
  
  <p>also when it was no forward just the page template.xhtml it's work !</p>