cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/transformation EffectWidgetReplacingPipe.java
Date Thu, 08 Apr 2004 08:20:18 GMT
mpo         2004/04/08 01:20:18

  Modified:    src/blocks/forms/java/org/apache/cocoon/forms/transformation
                        EffectWidgetReplacingPipe.java
  Log:
  Fixing http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28260
  FormsTransformer was ignoring sitemap-parameters form-method and form-action.
  
  Revision  Changes    Path
  1.8       +5 -1      cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java
  
  Index: EffectWidgetReplacingPipe.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EffectWidgetReplacingPipe.java	18 Mar 2004 21:04:39 -0000	1.7
  +++ EffectWidgetReplacingPipe.java	8 Apr 2004 08:20:18 -0000	1.8
  @@ -313,6 +313,10 @@
                           pipeContext.setLocale(Locale.getDefault());
                       }
                   }
  +                
  +                // we need to merge input.attrs with possible overruling attributes 
  +                // from the pipeContext
  +                input.addAttributes(pipeContext.getFormAttributes());
   
                   String[] namesToTranslate = {"action"};
                   Attributes transAttrs = translateAttributes(input.attrs, namesToTranslate);
  
  
  

Mime
View raw message