2006/unicorn/src/org/w3c/unicorn/action IndexAction.java,1.22,1.23

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

Modified Files:
	IndexAction.java 
Log Message:
added mimeType list change on task change

Index: IndexAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/IndexAction.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- IndexAction.java	24 Sep 2009 17:39:54 -0000	1.22
+++ IndexAction.java	30 Sep 2009 09:32:00 -0000	1.23
@@ -121,6 +121,7 @@
 		
 		PrintWriter writer = resp.getWriter();
 		if (req.getHeader("X-Requested-With") != null && req.getHeader("X-Requested-With").equals("XMLHttpRequest")) {
+			velocityContext.put("ajaxCall", "true");
 			Templates.write("parameters.vm", velocityContext, writer);
 		} else {
 			Templates.write("index.vm", velocityContext, writer);

Received on Wednesday, 30 September 2009 09:32:06 UTC