From ad4ffd24959997077b28d9eba092c5742b359d5b Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Thu, 6 Mar 2008 20:29:41 +0000 Subject: [PATCH] add flowExecutionKey to model --- .../org/springframework/webflow/mvc/MvcViewFactoryCreator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/mvc/MvcViewFactoryCreator.java b/spring-webflow/src/main/java/org/springframework/webflow/mvc/MvcViewFactoryCreator.java index 57669c58..97737b2c 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/mvc/MvcViewFactoryCreator.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/mvc/MvcViewFactoryCreator.java @@ -186,6 +186,7 @@ public class MvcViewFactoryCreator implements ViewFactoryCreator, ApplicationCon model.putAll(context.getConversationScope().union(context.getFlowScope()).union(context.getFlashScope()) .union(context.getRequestScope()).asMap()); model.put("flowExecutionRequestContext", context); + model.put("flowExecutionKey", context.getFlowExecutionContext().getKey().toString()); model.put("flowExecutionUrl", context.getFlowExecutionUrl()); if (springSecurityPresent && !model.containsKey("currentUser")) { model.put("currentUser", SecurityContextHolder.getContext().getAuthentication());