I meet the following issue with Mojarra 2.1.19.
A page includes the same template twice but with different params. User can hide/show template with a button :
rb1 and rb2 are two bean with scope request.
form.xhtml contains a form with a binding :
When user clicks on the "switch panel 1", JSF throws a duplicate id exception. If I remove the binding there is no error. If I duplicate the included template there is no error.
I reproduce the issue even if the template is included twice in different nested templates.