myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1792976 - /myfaces/core/branches/2.3.x/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlOutcomeTargetButtonRendererTest.java
Date Fri, 28 Apr 2017 03:29:18 GMT
Author: lu4242
Date: Fri Apr 28 03:29:18 2017
New Revision: 1792976

URL: http://svn.apache.org/viewvc?rev=1792976&view=rev
Log:
MYFACES-4114 Add disabled attribute to h:button

Modified:
    myfaces/core/branches/2.3.x/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlOutcomeTargetButtonRendererTest.java

Modified: myfaces/core/branches/2.3.x/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlOutcomeTargetButtonRendererTest.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlOutcomeTargetButtonRendererTest.java?rev=1792976&r1=1792975&r2=1792976&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlOutcomeTargetButtonRendererTest.java
(original)
+++ myfaces/core/branches/2.3.x/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlOutcomeTargetButtonRendererTest.java
Fri Apr 28 03:29:18 2017
@@ -204,7 +204,7 @@ public class HtmlOutcomeTargetButtonRend
      */
     public void testDisabledAttribute() 
     {
-        outcomeTargetButton.getAttributes().put(JSFAttr.DISABLED_ATTR, "true");
+        outcomeTargetButton.getAttributes().put(JSFAttr.DISABLED_ATTR, Boolean.TRUE);
         try 
         {
             outcomeTargetButton.encodeAll(facesContext);



Mime
View raw message