myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1153212 - /myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/CommonPropertyUtils.java
Date Tue, 02 Aug 2011 17:29:20 GMT
Author: lu4242
Date: Tue Aug  2 17:29:19 2011
New Revision: 1153212

URL: http://svn.apache.org/viewvc?rev=1153212&view=rev
Log:
MYFACES-3256 CommonPropertyUtils assumes all its managed HTML attributes hold string values

Modified:
    myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/CommonPropertyUtils.java

Modified: myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/CommonPropertyUtils.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/CommonPropertyUtils.java?rev=1153212&r1=1153211&r2=1153212&view=diff
==============================================================================
--- myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/CommonPropertyUtils.java
(original)
+++ myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/CommonPropertyUtils.java
Tue Aug  2 17:29:19 2011
@@ -239,7 +239,7 @@ public final class CommonPropertyUtils
     {
         if ((commonPropertiesMarked & CommonPropertyConstants.ALIGN_PROP) != 0)
         {
-            renderHTMLStringAttribute(writer, component,
+            HtmlRendererUtils.renderHTMLAttribute(writer, component,
                     HTML.ALIGN_ATTR, HTML.ALIGN_ATTR);
         }
         if ((commonPropertiesMarked & CommonPropertyConstants.ALT_PROP) != 0)
@@ -249,22 +249,22 @@ public final class CommonPropertyUtils
         }
         if ((commonPropertiesMarked & CommonPropertyConstants.CHECKED_PROP) != 0)
         {
-            renderHTMLStringAttribute(writer, component,
+            HtmlRendererUtils.renderHTMLAttribute(writer, component,
                     HTML.CHECKED_ATTR, HTML.CHECKED_ATTR);
         }
         if ((commonPropertiesMarked & CommonPropertyConstants.MAXLENGTH_PROP) != 0)
         {
-            renderHTMLStringAttribute(writer, component,
+            HtmlRendererUtils.renderHTMLAttribute(writer, component,
                     HTML.MAXLENGTH_ATTR, HTML.MAXLENGTH_ATTR);
         }
         if ((commonPropertiesMarked & CommonPropertyConstants.READONLY_PROP) != 0)
         {
-            renderHTMLStringAttribute(writer, component,
+            HtmlRendererUtils.renderHTMLAttribute(writer, component,
                     HTML.READONLY_ATTR, HTML.READONLY_ATTR);
         }
         if ((commonPropertiesMarked & CommonPropertyConstants.SIZE_PROP) != 0)
         {
-            renderHTMLStringAttribute(writer, component,
+            HtmlRendererUtils.renderHTMLAttribute(writer, component,
                     HTML.SIZE_ATTR, HTML.SIZE_ATTR);
         }        
     }



Mime
View raw message