1
2
3
4
5
6 package org.weda.action;
7
8 /**
9 *
10 * @author Mikhail Titov
11 */
12 public class TestAction2 extends TestLinkedAction {
13 public Object execute(ActionContainer targetObject) throws Exception {
14 TestActionContainer4 container = (TestActionContainer4)targetObject;
15 container.setExecuted(true);
16 return null;
17 }
18
19 public Object afterLinkedActionExecute(
20 Object targetObject, Object linkedTargetObject
21 , boolean cancelAction)
22 throws Exception
23 {
24 TestActionContainer4 container = (TestActionContainer4)targetObject;
25 container.setLinkActionExecuted(true);
26 container.setCancelAction(cancelAction);
27 return null;
28 }
29
30 }