myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r294870 - /myfaces/share/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java
Date Tue, 04 Oct 2005 17:32:25 GMT
Author: mmarinschek
Date: Tue Oct  4 10:32:22 2005
New Revision: 294870

URL: http://svn.apache.org/viewcvs?rev=294870&view=rev
Log:
fix for MYFACES-599 - thanks to Kris Nuttycombe

Modified:
    myfaces/share/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java

Modified: myfaces/share/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/share/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java?rev=294870&r1=294869&r2=294870&view=diff
==============================================================================
--- myfaces/share/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java
(original)
+++ myfaces/share/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java
Tue Oct  4 10:32:22 2005
@@ -339,7 +339,7 @@
         }
         else
         {
-            String strValue = value.toString();
+            String strValue = (value==null)?"":value.toString();
             _writer.write(' ');
             _writer.write(name);
             _writer.write("=\"");



Mime
View raw message