incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwald...@apache.org
Subject svn commit: r521952 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputUtils.java
Date Sat, 24 Mar 2007 00:29:02 GMT
Author: jwaldman
Date: Fri Mar 23 17:29:02 2007
New Revision: 521952

URL: http://svn.apache.org/viewvc?view=rev&rev=521952
Log:
fix bug in renderImage. I need to call through to CoreRenderer.renderStyleClass(context, arc,
styleClass);
to render the styleClass instead of rendering the styleClass directly. 

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputUtils.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputUtils.java?view=diff&rev=521952&r1=521951&r2=521952
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputUtils.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputUtils.java
Fri Mar 23 17:29:02 2007
@@ -34,6 +34,7 @@
 
 import org.apache.myfaces.trinidadinternal.agent.TrinidadAgent;
 import org.apache.myfaces.trinidad.context.RenderingContext;
+import org.apache.myfaces.trinidad.render.CoreRenderer;
 import org.apache.myfaces.trinidad.skin.Icon;
 
 /**
@@ -375,7 +376,7 @@
     
     if (styleClass != null)
     {
-      writer.writeAttribute("class", styleClass, null);
+      CoreRenderer.renderStyleClass(context, arc, styleClass);
     }
 
     writer.endElement("img");



Mime
View raw message