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

    Fields
    Modifier and Type
    Field
    Description
    protected String
     

    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

    Modifier and Type
    Method
    Description
     
    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

    Methods inherited from class io.keikaiex.ui.UpdateBridge

    findDesktop, findDesktopIfAny, hasDesktop, process, process

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _zkjsFieldName

      protected String _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

      public String getJsFieldName()
    • process

      public 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