public abstract class JsonUpdateBridge extends UpdateBridge
Bridge provide easier functionality for a servlet| Modifier and Type | Field and Description |
|---|---|
protected String |
_zkjsFieldName |
_desktopId, _request, _response, _servletContext| Constructor and Description |
|---|
JsonUpdateBridge(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String desktopId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsFieldName() |
void |
process(org.zkoss.json.JSONObject result)
Process the bridge, find the desktop and call
UpdateBridge.process(Desktop), and set the zk ajax update script to field (return by getJsFieldName())
of the result json object |
findDesktop, findDesktopIfAny, hasDesktop, process, processprotected String _zkjsFieldName
public JsonUpdateBridge(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String desktopId)
public String getJsFieldName()
public void process(org.zkoss.json.JSONObject result)
UpdateBridge.process(Desktop), and set the zk ajax update script to field (return by getJsFieldName())
of the result json objectCopyright © 2020. All rights reserved.