In my web app, JSF2 (mojarra 2.1.20), there is a strange behaviour on a page having a component with the following snippet:
<h:commandLink ... action="#{cc.attrs.bean.next}">
<f:ajax execute="@this" render=":#{cc.clientId}" />
</h:commandLink>
The action next()
is not always called. I've found out that the problem is related for some reason to the url parameter id:
<f:metadata>
<f:viewParam name="id" value="#{torneoBean.idParam}" required="true" />
</f:metadata>
When I insert the viewParam above the problem occurs. But I cannot get rid of it. Debugging ajax request it seems that start, success, complete event sequence is called (no errors), the components to render are correctly rendered but the action is not fired. Is there a way to debug this situation and find out what is the root cause of the problem?