Class ExecutionsCtrl


  • public class ExecutionsCtrl
    extends Executions
    Additional utilities for Execution.
    Author:
    tomyeh
    • Constructor Detail

      • ExecutionsCtrl

        protected ExecutionsCtrl()
    • Method Detail

      • setCurrent

        public static final void setCurrent​(Execution exec)
        Sets the execution for the current thread. Called only internally.

        Note: you have to clean up the current execution with try/finally:

        
         setCurrent(exec);
         try {
         ...
         finally {
           setCurrent(null);
         }
      • getPageRedrawControl

        public static final java.lang.String getPageRedrawControl​(Execution exec)
        Returns the page redraw control. It first check if a request attribute called Attributes.PAGE_REDRAW_CONTROL is defined. If not, it checks a request parameter called zk.redrawCtrl is defined. If none of them is defined, null is returned.
        Since:
        5.0.0