public abstract class JsonUpdateBridge extends UpdateBridge
Bridge
provide easier functionality for a servletModifier and Type | Field and Description |
---|---|
protected java.lang.String |
_zkjsFieldName |
_desktopId, _request, _response, _servletContext
Constructor and Description |
---|
JsonUpdateBridge(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String desktopId) |
Modifier and Type | Method and Description |
---|---|
java.lang.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, process
public JsonUpdateBridge(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String desktopId)
public java.lang.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 © 2005-2010 Potix Corporation. All Rights Reserved.