[seam-commits] Seam SVN: r15318 - in branches/community/Seam_2_3/jboss-seam-ui/src/main: resources/META-INF/cdk/attributes and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Oct 30 07:45:10 EDT 2012


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>



More information about the seam-commits mailing list