Manages the set of Windows currently in the Session and allows listeners on the Windows' lifecycles to be registered.
840841842843844845846847848849850851852853854
*/ static private String _getCurrWindowId(ExternalContext external, RequestContext trinContext) { if (trinContext != null) { WindowManager wm = trinContext.getWindowManager(); if (wm != null) { Window currWindow = wm.getCurrentWindow(external); if (currWindow != null) { return currWindow.getId(); }
940941942943944945946947948949950951952953954
299300301302303304305306307308309310311312
} StringBuffer buff = _getLogBuffer(context); buff.append("Session Id = ").append(sessionId); WindowManager wm = RequestContext.getCurrentInstance().getWindowManager(); if (wm != null) { Window window = wm.getCurrentWindow(externalContext); if (window != null) { buff.append("\nWindow Id = ").append(window.getId()); }
841842843844845846847848849850851852853854855