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 UpdateBridge
A abstract util wrappingBridge
provide easier functionality for a servlet- Since:
- 3.0.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
_zkjsFieldName
-
Fields inherited from class io.keikaiex.ui.UpdateBridge
_desktopId, _request, _response, _servletContext
-
-
Constructor Summary
Constructors Constructor Description JsonUpdateBridge(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String desktopId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJsFieldName()
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-
Methods inherited from class io.keikaiex.ui.UpdateBridge
findDesktop, findDesktopIfAny, hasDesktop, process, process
-
-
-
-
Field Detail
-
_zkjsFieldName
protected String _zkjsFieldName
-
-
Constructor Detail
-
JsonUpdateBridge
public JsonUpdateBridge(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String desktopId)
-
-
Method Detail
-
getJsFieldName
public String 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
-
-