[seam-commits] Seam SVN: r15316 - in branches/enterprise/WFK-2_1/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:35:09 EDT 2012


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

Modified:
   branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java
   branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml
Log:
bz 871382 Seam UI tag decorate has got wrong default value for enclose attribute

Modified: branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java	2012-10-30 11:34:55 UTC (rev 15315)
+++ branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java	2012-10-30 11:35:09 UTC (rev 15316)
@@ -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/enterprise/WFK-2_1/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml	2012-10-30 11:34:55 UTC (rev 15315)
+++ branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml	2012-10-30 11:35:09 UTC (rev 15316)
@@ -20,13 +20,12 @@
         </property>
         
         <property>
-            <property-name>enclose</property-name>
-            <property-class>boolean</property-class>
             <description>if true, the template used to decorate the input field is
                          enclosed by the element specified with the "element"
                          attribute. By default this is a div element.
             </description>
-            <default-value>true</default-value>
+            <property-name>enclose</property-name>
+            <property-class>boolean</property-class>
         </property>
         
         <property>



More information about the seam-commits mailing list