myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r378617 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java
Date Fri, 17 Feb 2006 19:55:35 GMT
Author: imario
Date: Fri Feb 17 11:55:33 2006
New Revision: 378617

URL: http://svn.apache.org/viewcvs?rev=378617&view=rev
Log:
make replaceIdWithLabel again working if one uses outputText as child of outputLabel

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java?rev=378617&r1=378616&r2=378617&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java
(original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java
Fri Feb 17 11:55:33 2006
@@ -250,7 +250,7 @@
             text=RendererUtils.getStringValue(facesContext, component);
         }
 
-        if (text == null)
+        if (text == null || text.length() < 1)
         {
             StringBuffer buf = new StringBuffer();
             List li = component.getChildren();



Mime
View raw message