Hi Werner,
2 elements with the same id truely brake the HTML standard. And it's
true, with Mojarra 2.0 and 2 forms on a page I get 2 identical
<input id="javax.faces.ViewState" type="hidden" value="j_id1:j_id2"
name="javax.faces.ViewState"/>
elements!
Still, I'm not able to find this in the specs, can you please point me
to the section you are referring to?
The spec says that an element with the identifier
javax.faces.ViewState has to be added to every form if it does not
exist within the update phase if viewState itself is responded!
Best Regards,
Ganesh