Author: manaRH
Date: 2012-10-30 07:45:09 -0400 (Tue, 30 Oct 2012)
New Revision: 15318

Modified:
   
branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java
   
branches/community/Seam_2_3/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml
Log:
JBSEAM-5054 fixed wrong default value for Seam UI decorate tag's attribute 
enclose

Modified: 
branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java
===================================================================
--- 
branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java
 2012-10-30 11:43:00 UTC (rev 15317)
+++ 
branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java
 2012-10-30 11:45:09 UTC (rev 15318)
@@ -92,7 +92,7 @@
    
    public abstract void setStyle(String style);
 
-   @Attribute
+   @Attribute(defaultValue="true")
    public abstract boolean isEnclose();
       
    public abstract void setEnclose(boolean enclose);

Modified: 
branches/community/Seam_2_3/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml
===================================================================
--- 
branches/community/Seam_2_3/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml
   2012-10-30 11:43:00 UTC (rev 15317)
+++ 
branches/community/Seam_2_3/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml
   2012-10-30 11:45:09 UTC (rev 15318)
@@ -26,7 +26,6 @@
                          enclosed by the element specified with the "element"
                          attribute. By default this is a div element.
             </description>
-            <default-value>true</default-value>
         </property>
         
         <property>
@@ -36,4 +35,4 @@
                          By default, the template is enclosed with a div 
element.</description>
             <default-value>"div"</default-value>
         </property>
-</cdk:properties>
\ No newline at end of file
+</cdk:properties>

_______________________________________________
seam-commits mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-commits

Reply via email to