myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r811025 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java
Date Thu, 03 Sep 2009 16:50:38 GMT
Author: lofwyr
Date: Thu Sep  3 16:50:38 2009
New Revision: 811025

URL: http://svn.apache.org/viewvc?rev=811025&view=rev
Log:
TOBAGO-606: Layout-Manager
 - set logging from error to debug (the case was no longer an error)

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java?rev=811025&r1=811024&r2=811025&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java
Thu Sep  3 16:50:38 2009
@@ -127,9 +127,8 @@
       }
       clazz = clazz.getSuperclass();
     }
-    // todo: remove condition, is only temporary to ignore wml errors.
-    if (!ClientProperties.getInstance(viewRoot).getContentType().equals("wml")) {
-      LOG.error("Theme property '" + name + "' not found for renderer: " + renderer.getClass()
+    if (LOG.isDebugEnabled()) {
+      LOG.debug("Theme property '" + name + "' not found for renderer: " + renderer.getClass()
           + " with clientProperties='" + ClientProperties.getInstance(viewRoot).getId() +
"'"
           + " and locale='" + viewRoot.getLocale() + "'");
     }



Mime
View raw message