Package org.zkoss.zk.ui.sys

Examples of org.zkoss.zk.ui.sys.DesktopCache


            if (hsess != null) {
              if (hsess.getAttribute(dtid) != null) { //with the preset token
                hsess.removeAttribute(dtid);
                final Session sess = ((WebAppCtrl)_webApp).getSessionCache().get(hsess);
                if (sess != null) {
                  final DesktopCache cache = ((WebAppCtrl)_webApp).getDesktopCache(sess);
                  if (cache != null) {
                    final Desktop olddesktop = cache.getDesktopIfAny(dtid);
                    if (olddesktop != null) {
                      //set ATTR_DESKTOP, so will reuse the old desktop
                      request.setAttribute(ATTR_DESKTOP, olddesktop);
                      //cleanup the "au" channel to avoid get the
                      //    residue of the previous desktop operation
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.sys.DesktopCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.