myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r721989 - /myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailHeaderRenderer.java
Date Mon, 01 Dec 2008 07:30:56 GMT
Author: matzew
Date: Sun Nov 30 23:30:56 2008
New Revision: 721989

URL: http://svn.apache.org/viewvc?rev=721989&view=rev
Log:
TRINIDAD-1046 - ShowDetailHeader does not render its icon

Thx to Vimal Kumar Gupta for the patch

Modified:
    myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailHeaderRenderer.java

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailHeaderRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailHeaderRenderer.java?rev=721989&r1=721988&r2=721989&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailHeaderRenderer.java
(original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailHeaderRenderer.java
Sun Nov 30 23:30:56 2008
@@ -85,6 +85,9 @@
     throws IOException
   {
     delegateRenderer(context, arc, component, bean, _detailRenderer);
+    //render the showDetailHeader icon. It uses skinning key af|panelHeader::icon-style
+    //we can introduce new skinning key af|showDetailHeader::icon-style, if needed.
+    super.renderIcon(context, arc, component, bean, messageType);
   }
 
   @Override



Mime
View raw message