// reset the client id (see spec 3.1.6)
component.setId(component.getId());
if (!component.isTransient())
{
component.restoreTransientState(facesContext,
(state == null)
? null
: state.get(component.getClientId(facesContext).substring(containerClientId.length()+1)));
Iterator<UIComponent> childsIterator;
if (restoreChildFacets)