2006/unicorn/src/org/w3c/unicorn/action IndexAction.java,1.19,1.20

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv9539/src/org/w3c/unicorn/action

Modified Files:
	IndexAction.java 
Log Message:
fixed default_task was not in the context for IndexAction

Index: IndexAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/IndexAction.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- IndexAction.java	21 Sep 2009 15:46:50 -0000	1.19
+++ IndexAction.java	22 Sep 2009 08:57:35 -0000	1.20
@@ -69,6 +69,8 @@
 		velocityContext.put("queryString", queryString);
 		velocityContext.put("messages", messages);
 		velocityContext.put("current_task", Framework.mapOfTask.get(task));
+		velocityContext.put("default_task", Framework.mapOfTask.get(Framework.mapOfTask.getDefaultTaskId()));
+		
 		
 		Enumeration<?> paramEnum = req.getParameterNames();
 		while (paramEnum.hasMoreElements()) {

Received on Tuesday, 22 September 2009 08:57:46 UTC