myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1523354 - in /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets: FaceletViewDeclarationLanguage.java tag/composite/CompositeComponentResourceTagHandler.java
Date Sat, 14 Sep 2013 23:28:57 GMT
Author: lu4242
Date: Sat Sep 14 23:28:56 2013
New Revision: 1523354

URL: http://svn.apache.org/r1523354
Log:
MYFACES-3748 Bug in check for required attribute at Composite Components (thanks to Dennis
Hoersch for provide this patch)

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentResourceTagHandler.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java?rev=1523354&r1=1523353&r2=1523354&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
Sat Sep 14 23:28:56 2013
@@ -1115,7 +1115,7 @@ public class FaceletViewDeclarationLangu
                                 }
                                 else
                                 {
-                                    required = Boolean.getBoolean(requiredValue.toString());
+                                    required = Boolean.valueOf(requiredValue.toString());
                                 }
 
                                 if (required != null && required.booleanValue())

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentResourceTagHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentResourceTagHandler.java?rev=1523354&r1=1523353&r2=1523354&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentResourceTagHandler.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentResourceTagHandler.java
Sat Sep 14 23:28:56 2013
@@ -132,7 +132,7 @@ public class CompositeComponentResourceT
                     }
                     else
                     {
-                        required = Boolean.getBoolean(value.toString());
+                        required = Boolean.valueOf(value.toString());
                     } 
                     
                     if (required != null && required.booleanValue())



Mime
View raw message