Package org.zkoss.zk.ui.sys

Examples of org.zkoss.zk.ui.sys.UiEngine.deactivate()


  /** Safe to be called even if the Web application has been destroyed
   */
  private void safeDeactivate(Execution exec) {
    final UiEngine uieng = ((WebAppCtrl)_wapp).getUiEngine();
    if (uieng != null) {
      uieng.deactivate(exec);
    } else {
      _exec = null;
      ExecutionsCtrl.setCurrent(null);
    }
  }
View Full Code Here


      } finally {
        if (!err) {
          desktopCtrl.invokeExecutionCleanups(exec, oldexec, null);
          config.invokeExecutionCleanups(exec, oldexec, null);
        }
        uieng.deactivate(exec);
      }
    } catch (ComponentNotFoundException ex) {
      //possible because view might be as late as origin comp is gone
      response.sendError(response.SC_GONE, Messages.get(MZk.UPDATE_OBSOLETE_PAGE, uuid));
      return;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.