1 7 package com.inversoft.verge.mvc.controller.actionflow; 8 9 10 import com.inversoft.verge.mvc.controller.GenericResult; 11 import com.inversoft.verge.mvc.controller.actionflow.config.Node; 12 13 14 22 class ActionFlowResult extends GenericResult { 23 24 27 public ActionFlowResult(ActionFlowAction action, Node node, String category) { 28 super(); 29 this.category = category; 30 31 String actionStr = null; 33 if (action.getAction() instanceof Exception ) { 34 actionStr = action.getAction().getClass().getName(); 35 } else { 36 actionStr = action.getAction().toString(); 37 } 38 39 this.url = ActionFlowURLTools.generateURL(node.getNamespace().getName(), 41 null, actionStr, node.getName()); 42 } 43 44 45 49 public boolean isForward() { 50 return false; 51 } 52 } | Popular Tags |