You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/09/03 18:50:38 UTC

svn commit: r811025 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java

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() + "'");
     }