2006/unicorn/src/org/w3c/unicorn/action IndexAction.java,1.17,1.18

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

Modified Files:
	IndexAction.java 
Log Message:
fixed lang links 

Index: IndexAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/IndexAction.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- IndexAction.java	16 Sep 2009 12:29:09 -0000	1.17
+++ IndexAction.java	17 Sep 2009 17:29:37 -0000	1.18
@@ -48,16 +48,15 @@
 		
 		String lang;
 		String task;
-		String queryString;
+		String queryString = "./" + getQueryStringWithout(paramPrefix + "lang", req);
 		if (req.getAttribute("unicorn_parameters") instanceof Map<?, ?>) {
 			Map<?, ?> reqParams = (Map<?, ?>) req.getAttribute("unicorn_parameters");
 			lang = getLanguage((String) reqParams.get(paramPrefix + "lang"), req, messages);
 			task = getTask((String) reqParams.get(paramPrefix + "task"), null);
-			queryString = "./";
 		} else {
 			lang = getLanguage((String) req.getParameter(paramPrefix + "lang"), req, messages);
 			task = getTask((String) req.getParameter(paramPrefix + "task"), null);
-			queryString = getQueryStringWithout(paramPrefix + "lang", req);
+			
 		}
 		
 		if (req.getAttribute("unicorn_message") != null)

Received on Thursday, 17 September 2009 17:29:47 UTC