You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jw...@apache.org on 2005/04/12 15:58:29 UTC
svn commit: r161052 - lenya/trunk/src/webapp/lenya/usecases/usecases.js
Author: jwkaltz
Date: Tue Apr 12 06:58:28 2005
New Revision: 161052
URL: http://svn.apache.org/viewcvs?view=rev&rev=161052
Log:
[minor change] added debug message at entry of usecase flow, to facilitate tracing
Modified:
lenya/trunk/src/webapp/lenya/usecases/usecases.js
Modified: lenya/trunk/src/webapp/lenya/usecases/usecases.js
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/usecases/usecases.js?view=diff&r1=161051&r2=161052
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecases/usecases.js (original)
+++ lenya/trunk/src/webapp/lenya/usecases/usecases.js Tue Apr 12 06:58:28 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation
+ * Copyright 1999-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,6 +14,7 @@
* limitations under the License.
*
*/
+/* $Id$ */
/* Helper method to add all request parameters to a usecase */
function passRequestParameters(flowHelper, usecase) {
@@ -58,6 +59,9 @@
var usecaseResolver;
var usecase;
+
+ if (cocoon.log.isDebugEnabled())
+ cocoon.log.debug("usecases.js::executeUsecase() called, parameter lenya.usecase = [" + usecaseName + "]");
try {
usecaseResolver = cocoon.getComponent("org.apache.lenya.cms.usecase.UsecaseResolver");
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org