Package io.keikai.jsp
Class JsonUpdateBridge
java.lang.Object
io.keikaiex.ui.UpdateBridge
io.keikai.jsp.JsonUpdateBridge
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SmartUpdateBridge
public abstract class JsonUpdateBridge
extends io.keikaiex.ui.UpdateBridge
A abstract util wrapping
Bridge provide easier functionality for a servlet- Since:
- 3.0.0
- Author:
- dennis
- See Also:
-
Field Summary
FieldsFields inherited from class io.keikaiex.ui.UpdateBridge
_desktopId, _request, _response, _servletContext -
Constructor Summary
ConstructorsConstructorDescriptionJsonUpdateBridge(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String desktopId) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.zkoss.json.JSONObject result) Process the bridge, find the desktop and callUpdateBridge.process(Desktop), and set the zk ajax update script to field (return bygetJsFieldName()) of the result json objectMethods inherited from class io.keikaiex.ui.UpdateBridge
findDesktop, findDesktopIfAny, hasDesktop, process, process
-
Field Details
-
_zkjsFieldName
-
-
Constructor Details
-
JsonUpdateBridge
public JsonUpdateBridge(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String desktopId)
-
-
Method Details
-
getJsFieldName
-
process
public void process(org.zkoss.json.JSONObject result) Process the bridge, find the desktop and callUpdateBridge.process(Desktop), and set the zk ajax update script to field (return bygetJsFieldName()) of the result json object
-