clearTransientAndNonFaceletComponentsForStaticView(context, view);
viewPool.pushStaticStructureView(context, view);
}
else
{
ViewStructureMetadata viewStructureMetadata = viewPool.retrieveDynamicViewStructureMetadata(
context, view, faceletViewState);
if (viewStructureMetadata != null)
{
clearTransientAndNonFaceletComponentsForDynamicView(context, view, viewStructureMetadata);
viewPool.pushDynamicStructureView(context, view, faceletViewState);