title: JSF2 ignores Action attribut
body: <p>my xhtml code:</p>
  
  <pre><code>&lt;h:commandLink action="#{detailController.updateProject}" class="positive" &gt;
   &lt;h:graphicImage library="img" name="tick.png" alt=""/&gt; 
   &lt;h:outputText value="Save" /&gt;
  &lt;/h:commandLink&gt;
  </code></pre>
  
  <p>This action (updateProject()) is not being called from JSF framework! Even if I delete it in the managedBean there is no exception thrown.</p>
  
  <p><strong>Does anybodyelse has had problems like that?</strong> I can't even explain that -.- I mean this action ethod is there!</p>
  
  <hr>
  
  <p>ADD: Yes it is in a h:form tag! But I have two forms in that view! May that be the problem?</p>
  
  <hr>
  
  <p>ADD2: I should also mention that if I hit the button it throws me back to the previous view! So my action method is being ignored and instead it opens another view ?!?!</p>
  
  <p>To provide more information, my page is built like that:</p>
  
  <pre><code>panelGroup name=show rendered=!controller.edit
    form 
      buttons
      outputtext
    /form
  /panelGroup
  
  panelGroup name=edit rendered=controller.edit
     form
       buttons
       inputText
     /form
  /panelGroup
  </code></pre>
  
  <p>So I have both, edit and show of one entity at one file! But only the buttons in the bottom form show that strange behaviour (see above).</p>
  
  <hr>
  
  <p>Answering BalusC:
  1. I use two forms (they aren't nested!)
  2. In the bottom form I had already placed a h:messages 
  I'm gonna try putting my controller into viewScop for checking 3 and 4 
  I don't know how to check 5.
  Thank you for that..</p>