|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.Executions org.zkoss.zk.ui.sys.ExecutionsCtrl
public class ExecutionsCtrl
Additional utilities for Execution
.
Field Summary |
---|
Fields inherited from class org.zkoss.zk.ui.Executions |
---|
_exec |
Constructor Summary | |
---|---|
protected |
ExecutionsCtrl()
|
Method Summary | |
---|---|
static ExecutionCtrl |
getCurrentCtrl()
Returns the current ExecutionCtrl . |
static java.lang.String |
getPageRedrawControl(Execution exec)
Returns the page redraw control. |
static void |
setCurrent(Execution exec)
Sets the execution for the current thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExecutionsCtrl()
Method Detail |
---|
public static final void setCurrent(Execution exec)
Note: you have to clean up the current execution with try/finally:
setCurrent(exec);
try {
...
finally {
setCurrent(null);
}
public static final ExecutionCtrl getCurrentCtrl()
ExecutionCtrl
.
public static final java.lang.String getPageRedrawControl(Execution exec)
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |