cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/acting AbstractDatabaseAction.java DatabaseAddAction.java
Date Wed, 07 Mar 2001 22:18:38 GMT
bloritsch    01/03/07 14:18:37

  Modified:    src/org/apache/cocoon/acting Tag: xml-cocoon2
                        AbstractDatabaseAction.java DatabaseAddAction.java
  Log:
  Add alteration so that values can be passed from one action to the next.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.15  +3 -1      xml-cocoon/src/org/apache/cocoon/acting/Attic/AbstractDatabaseAction.java
  
  Index: AbstractDatabaseAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/acting/Attic/AbstractDatabaseAction.java,v
  retrieving revision 1.1.2.14
  retrieving revision 1.1.2.15
  diff -u -r1.1.2.14 -r1.1.2.15
  --- AbstractDatabaseAction.java	2001/03/07 20:49:50	1.1.2.14
  +++ AbstractDatabaseAction.java	2001/03/07 22:18:32	1.1.2.15
  @@ -168,7 +168,7 @@
    * </table>
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1.2.14 $ $Date: 2001/03/07 20:49:50 $
  + * @version CVS $Revision: 1.1.2.15 $ $Date: 2001/03/07 22:18:32 $
    */
   public abstract class AbstractDatabaseAction extends AbstractComplimentaryConfigurableAction
implements Configurable {
       protected Map files = new HashMap();
  @@ -251,6 +251,8 @@
                       return;
               }
           }
  +
  +        request.setAttribute(attribute, value);
   
           switch (typeObject.intValue()) {
               case Types.CLOB:
  
  
  
  1.1.2.10  +1 -2      xml-cocoon/src/org/apache/cocoon/acting/Attic/DatabaseAddAction.java
  
  Index: DatabaseAddAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/acting/Attic/DatabaseAddAction.java,v
  retrieving revision 1.1.2.9
  retrieving revision 1.1.2.10
  diff -u -r1.1.2.9 -r1.1.2.10
  --- DatabaseAddAction.java	2001/03/02 20:26:27	1.1.2.9
  +++ DatabaseAddAction.java	2001/03/07 22:18:34	1.1.2.10
  @@ -40,7 +40,7 @@
    * only one table at a time to update.
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1.2.9 $ $Date: 2001/03/02 20:26:27 $
  + * @version CVS $Revision: 1.1.2.10 $ $Date: 2001/03/07 22:18:34 $
    */
   public class DatabaseAddAction extends AbstractDatabaseAction {
       private static final Map addStatements = new HashMap();
  @@ -68,7 +68,6 @@
               Iterator keys = conf.getChild("table").getChild("keys").getChildren("key");
               Iterator values = conf.getChild("table").getChild("values").getChildren("value");
               int currentIndex = 1;
  -
   
               while (keys.hasNext()) {
                   Configuration key = (Configuration) keys.next();
  
  
  

Mime
View raw message