Class ActionBridgeImpl

    • Constructor Detail

      • ActionBridgeImpl

        public ActionBridgeImpl​(String clientId,
                                String compUuid)
    • Method Detail

      • execute

        public void execute​(Action action)
        Description copied from interface: ActionBridge
        Execute the action in zk lifecycle, and update the result to client, it throws ComponentNotFoundException if zk desktop not found (e.g you run the action in JSF post-back, so desktop was removed)
        Specified by:
        execute in interface ActionBridge
      • execute

        public void execute​(Action action,
                            boolean auto)
        Description copied from interface: ActionBridge
        Execute the action in zk lifecycle, and update the result to client. It will call Action.execute() directly if there has no zk desktop to wrap lice-cycle and you set auto to true. It will throw ComponentNotFoundException if there has no zk desktop and you set auto to false.
        Specified by:
        execute in interface ActionBridge
        auto - true wrap the execution in zk desktop lifecycle automatically,