You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/04/23 08:36:41 UTC
svn commit: r531352 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/ThemeConfig.java
Author: bommel
Date: Sun Apr 22 23:36:40 2007
New Revision: 531352
URL: http://svn.apache.org/viewvc?view=rev&rev=531352
Log:
(TOBAGO-360) Allow definition of supported markup in tobago-config.xml
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?view=diff&rev=531352&r1=531351&r2=531352
==============================================================================
--- 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 Sun Apr 22 23:36:40 2007
@@ -25,7 +25,7 @@
import org.apache.myfaces.tobago.context.ClientProperties;
import org.apache.myfaces.tobago.context.ResourceManager;
import org.apache.myfaces.tobago.context.ResourceManagerFactory;
-import org.apache.myfaces.tobago.renderkit.LayoutableRendererBase;
+import org.apache.myfaces.tobago.renderkit.RendererBase;
import javax.faces.component.UIComponent;
import javax.faces.component.UIInput;
@@ -114,7 +114,7 @@
private static String getTagName(Class clazz) {
String className = ClassUtils.getShortClassName(clazz);
- if (className.equals(ClassUtils.getShortClassName(LayoutableRendererBase.class))) {
+ if (className.equals(ClassUtils.getShortClassName(RendererBase.class))) {
return "Tobago";
} else if (className.endsWith("Renderer")) {
return className.substring(0, className.lastIndexOf("Renderer"));