struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject svn commit: r389609 - /struts/shale/trunk/core-library/src/java/org/apache/shale/view/faces/ViewViewHandler.java
Date Tue, 28 Mar 2006 21:39:59 GMT
Author: craigmcc
Date: Tue Mar 28 13:39:57 2006
New Revision: 389609

URL: http://svn.apache.org/viewcvs?rev=389609&view=rev
Log:
Lower the severity of the (used to be) warning that no view controller can
be found for a page, since this is a perfectly legitimate use case.

Modified:
    struts/shale/trunk/core-library/src/java/org/apache/shale/view/faces/ViewViewHandler.java

Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/view/faces/ViewViewHandler.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/view/faces/ViewViewHandler.java?rev=389609&r1=389608&r2=389609&view=diff
==============================================================================
--- struts/shale/trunk/core-library/src/java/org/apache/shale/view/faces/ViewViewHandler.java
(original)
+++ struts/shale/trunk/core-library/src/java/org/apache/shale/view/faces/ViewViewHandler.java
Tue Mar 28 13:39:57 2006
@@ -232,8 +232,10 @@
         try {
             vc = vr.resolveVariable(context, viewName);
             if (vc == null) {
-                log.warn(messages.getMessage("view.noViewController",
-                                             new Object[] { viewId, viewName }));
+                if (log.isDebugEnabled()) {
+                    log.debug(messages.getMessage("view.noViewController",
+                                                  new Object[] { viewId, viewName }));
+                }
                 return;
             }
         } catch (EvaluationException e) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message