cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r410338 - in /cocoon: branches/BRANCH_2_1_X/status.xml trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Field.java
Date Tue, 30 May 2006 18:25:42 GMT
Author: antonio
Date: Tue May 30 11:25:41 2006
New Revision: 410338

URL: http://svn.apache.org/viewvc?rev=410338&view=rev
Log:
Fix COCOON-1848 CForms: Using setRequired in Ajax mode does not generate bu:replace. Thanks
to Vincent Demay (vincent.demay@anyware-tech.com).

Modified:
    cocoon/branches/BRANCH_2_1_X/status.xml
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Field.java

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/status.xml?rev=410338&r1=410337&r2=410338&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Tue May 30 11:25:41 2006
@@ -182,6 +182,9 @@
   <release version="@version@" date="@date@">
 -->
   <release version="2.1.10" date="TBD">
+    <action dev="AG" type="fix" fixes-bug="COCOON-1848" due-to="Vincent Demay" due-to-email="vincent.demay@anyware-tech.com">
+      CForms: Using setRequired in Ajax mode does not generate bu:replace.
+    </action>
     <action dev="AG" type="fix" fixes-bug="COCOON-1847" due-to="Guillaume Déflache"
due-to-email="guillaume@anyware-tech.com">
       AJAX Block: Error popup window not resizable/scrollable.
     </action>

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Field.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Field.java?rev=410338&r1=410337&r2=410338&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Field.java
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Field.java
Tue May 30 11:25:41 2006
@@ -476,8 +476,9 @@
 
     public void setRequired(boolean required) {
         this.required = required;
+        getForm().addWidgetUpdate(this);
     }
-    
+
     /**
      * @return "field"
      */



Mime
View raw message