W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2006/unicorn/src/org/w3c/unicorn/action ObserveAction.java,1.1.2.9,1.1.2.10

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 27 Aug 2009 12:18:50 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MgdwI-0002w0-Su@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv11266/src/org/w3c/unicorn/action

Modified Files:
      Tag: dev2
	ObserveAction.java 
Log Message:
added log

Index: ObserveAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/Attic/ObserveAction.java,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -u -d -r1.1.2.9 -r1.1.2.10
--- ObserveAction.java	25 Aug 2009 08:49:20 -0000	1.1.2.9
+++ ObserveAction.java	27 Aug 2009 12:18:48 -0000	1.1.2.10
@@ -85,10 +85,12 @@
 		ObserveAction.logger.trace("doGet");
 
 		// Language negotiation
-		String langParameter = req.getParameter(Property.get("UNICORN_PARAMETER_PREFIX") + "lang");
+		String langParameter = req.getParameter(Property.get("UNICORN_PARAMETER_PREFIX") + "lang");	
 		if (langParameter == null || !Framework.getLanguageProperties().containsKey(langParameter))
 			langParameter = Language.negociate(req.getLocales());
 		
+		logger.debug("Lang Parameter: " + langParameter);
+		
 		//velocityContext = new VelocityContext(Language.getContext(langParameter));
 		
 		// Variables related to the output
Received on Thursday, 27 August 2009 12:18:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC