Package io.keikai.jsf
Interface ActionBridge
-
- All Known Implementing Classes:
ActionBridgeImpl
public interface ActionBridgeThe bridge to wrap and execute aActioninside zk context- Author:
- Dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(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)voidexecute(Action action, boolean auto)Execute the action in zk lifecycle, and update the result to client.
-
-
-
Method Detail
-
execute
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)- Parameters:
action-
-
execute
void execute(Action action, boolean auto)
Execute the action in zk lifecycle, and update the result to client. It will callAction.execute()directly if there has no zk desktop to wrap lice-cycle and you setautoto true. It will throw ComponentNotFoundException if there has no zk desktop and you setautoto false.- Parameters:
action-auto- true wrap the execution in zk desktop lifecycle automatically,- Since:
- 3.5.0
-
-