You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "vincent Demay (JIRA)" <ji...@apache.org> on 2006/05/10 16:31:04 UTC

[jira] Created: (COCOON-1848) [PATCH] using setRequired in Ajax mode does not generate bu:replace

[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


[jira] Assigned: (COCOON-1848) [PATCH] using setRequired in Ajax mode does not generate bu:replace

Posted by "Antonio Gallardo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1848?page=all ]

Antonio Gallardo reassigned COCOON-1848:
----------------------------------------

    Assign To: Antonio Gallardo

> [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
>     Assignee: Antonio Gallardo

>
> 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


[jira] Closed: (COCOON-1848) [PATCH] using setRequired in Ajax mode does not generate bu:replace

Posted by "Antonio Gallardo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1848?page=all ]
     
Antonio Gallardo closed COCOON-1848:
------------------------------------

    Fix Version: 2.2-dev (Current SVN)
                 2.1.10-dev (current SVN)
     Resolution: Fixed

Thanks for the patch. It was applied in 2.1.10-dev and 2.2-dev. Feel free to reopen the issue if needed.

> [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
>     Assignee: Antonio Gallardo
>      Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)

>
> 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