Package org.zkoss.zk.ui.sys
Class ExecutionsCtrl
java.lang.Object
org.zkoss.zk.ui.Executions
org.zkoss.zk.ui.sys.ExecutionsCtrl
Additional utilities for
Execution.- Author:
- tomyeh
-
Field Summary
Fields inherited from class org.zkoss.zk.ui.Executions
_exec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final ExecutionCtrlReturns the currentExecutionCtrl.static final StringReturns the page redraw control.static final voidsetCurrent(Execution exec) Sets the execution for the current thread.Methods inherited from class org.zkoss.zk.ui.Executions
activate, activate, createComponents, createComponents, createComponents, createComponents, createComponents, createComponentsDirectly, createComponentsDirectly, createComponentsDirectly, createComponentsDirectly, createComponentsDirectly, createComponentsDirectly, deactivate, encodeToURL, encodeURL, evaluate, evaluate, forward, getCurrent, getEvaluator, getEvaluator, getPageDefinition, getPageDefinitionDirectly, getPageDefinitionDirectly, getPageDefinitionDirectly, include, notify, notify, notifyAll, notifyAll, schedule, sendRedirect, wait
-
Constructor Details
-
ExecutionsCtrl
protected ExecutionsCtrl()
-
-
Method Details
-
setCurrent
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); } -
getCurrentCtrl
Returns the currentExecutionCtrl. -
getPageRedrawControl
Returns the page redraw control. It first check if a request attribute calledAttributes.PAGE_REDRAW_CONTROLis defined. If not, it checks a request parameter calledzk.redrawCtrlis defined. If none of them is defined, null is returned.- Since:
- 5.0.0
-