Please see Mojarra-1383 [1] for background on this issue.
Based on this, it seems we would need to remove the last bullet item in
this section that states:
"Publish an PostAddToViewEvent with the created UIViewRoot as the
event source."
and move the responsibility of publishing this event to
ViewDeclarationLanguage.buildView() - the
point when the view is actually populated.
Thoughts?
[1]
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1383