|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ZKProxy.Proxy
Interface to access version-dependent features of ZK.
Method Summary | |
---|---|
org.zkoss.zk.ui.Component |
getSelf(org.zkoss.zk.ui.sys.ExecutionCtrl exec)
Returns self of current context. |
void |
removeAttribute(org.zkoss.zk.ui.Execution exec,
java.lang.String name)
Removes an execution attribute. |
void |
removeAttribute(org.zkoss.zk.ui.Session session,
java.lang.String name)
Removes an session attribute. |
void |
responseSent(org.zkoss.zk.ui.sys.DesktopCtrl desktopCtrl,
java.lang.String channel,
java.lang.String reqId,
java.lang.Object resInfo)
Called when ZK Update Engine has sent a response to the client. |
void |
setAttribute(org.zkoss.zk.ui.Execution exec,
java.lang.String name,
java.lang.Object value)
Sets an execution attribute. |
void |
setAttribute(org.zkoss.zk.ui.Session ses,
java.lang.String name,
java.lang.Object value)
Sets an session attribute. |
Method Detail |
---|
org.zkoss.zk.ui.Component getSelf(org.zkoss.zk.ui.sys.ExecutionCtrl exec)
void setAttribute(org.zkoss.zk.ui.Execution exec, java.lang.String name, java.lang.Object value)
void removeAttribute(org.zkoss.zk.ui.Execution exec, java.lang.String name)
void setAttribute(org.zkoss.zk.ui.Session ses, java.lang.String name, java.lang.Object value)
void removeAttribute(org.zkoss.zk.ui.Session session, java.lang.String name)
void responseSent(org.zkoss.zk.ui.sys.DesktopCtrl desktopCtrl, java.lang.String channel, java.lang.String reqId, java.lang.Object resInfo)
Note: the implementation has to maintain one last-sent response information for each channel, since a different channel has different set of request IDs and might resend in a different condition.
channel
- the request channel.
For example, "au" for AU requests and "cm" for Comet requests.reqId
- the request ID that the response is generated for.
Ingore if null.resInfo
- the response infomation. Ignored if reqId is null.
The real value depends on the caller.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |