public class ActionBridgeImpl extends java.lang.Object implements ActionBridge
Constructor and Description |
---|
ActionBridgeImpl(java.lang.String clientId,
java.lang.String compUuid) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Action action)
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)
|
void |
execute(Action action,
boolean auto)
Execute the action in zk lifecycle, and update the result to client.
|
public ActionBridgeImpl(java.lang.String clientId, java.lang.String compUuid)
public void execute(Action action)
ActionBridge
execute
in interface ActionBridge
public void execute(Action action, boolean auto)
ActionBridge
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.
execute
in interface ActionBridge
auto
- true wrap the execution in zk desktop lifecycle automatically,Copyright © 2005-2010 Potix Corporation. All Rights Reserved.