ComponentContextManager ctxMgr = RequestContext.getCurrentInstance()
.getComponentContextManager();
// Suspend any current component context during a visit tree for re-entrant
// component tree processing
SuspendedContextChanges suspendedChanges = ctxMgr.suspend(facesContext);
Map<String, Object> reqMap = facesContext.getExternalContext().getRequestMap();
@SuppressWarnings("unchecked")
Queue<SuspendedContextChanges> suspendedChangesQueue = (Queue<SuspendedContextChanges>)
reqMap.get(_SUSPENDED_CHANGES_KEY);