Affects Version/s: 2.1.3
Fix Version/s: None
Mojarra 2.1.3, Tomcat 7.0.19, Glassfish 3.1.1, Win7 x64.
Consider the following example:
When you submit one of the two forms, the parent component of the other form will be re-rendered. However, the jsf.js does not append the view state as a hidden field of the other form. When you submit the other form, nothing will be processed/invoked. In the above example, a second click will get it to work, however there are cases wherein the button never works and I think this is related to the same root issue.
The workaround is to explicitly add the ID of the other form to the render id.
This way jsf.js will add the view state hidden field to the other form. The same problem exposes in both Mojarra 2.1.3 and MyFaces 2.1.1 by the way.