[PATCH] using setRequired in Ajax mode does not generate bu:replace
-------------------------------------------------------------------

         Key: COCOON-1848
         URL: http://issues.apache.org/jira/browse/COCOON-1848
     Project: Cocoon
        Type: Bug

  Components: Blocks: Forms  
    Versions: 2.1.9, 2.1.10-dev (current SVN)    
    Reporter: vincent Demay


When you use method setRequired on Field, BrowserUpdateTransformer does not 
generate a bu:replace

a litle patch to fix that : 

--- Field.java   2006-05-10 15:52:14.249081500 +0200
+++ Field.java  2006-05-10 15:49:32.847326500 +0200
@@ -476,6 +476,7 @@

     public void setRequired(boolean required) {
         this.required = required;
+        getForm().addWidgetUpdate(this);
     }

     /**

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to