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
Date Thu, 08 Mar 2001 19:29:50 GMT
bloritsch    01/03/08 11:29:49

  Modified:    src/org/apache/cocoon/acting Tag: xml-cocoon2
                        AbstractDatabaseAction.java
  Log:
  Make auto reading more accurate
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.17  +4 -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.16
  retrieving revision 1.1.2.17
  diff -u -r1.1.2.16 -r1.1.2.17
  --- AbstractDatabaseAction.java	2001/03/08 18:51:05	1.1.2.16
  +++ AbstractDatabaseAction.java	2001/03/08 19:29:45	1.1.2.17
  @@ -171,7 +171,7 @@
    * </table>
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1.2.16 $ $Date: 2001/03/08 18:51:05 $
  + * @version CVS $Revision: 1.1.2.17 $ $Date: 2001/03/08 19:29:45 $
    */
   public abstract class AbstractDatabaseAction extends AbstractComplimentaryConfigurableAction
implements Configurable {
       protected Map files = new HashMap();
  @@ -340,6 +340,7 @@
                   synchronized (this.files) {
                       param = (Parameters) this.files.get(imageFile);
                       statement.setInt(position, param.getParameterAsInteger("image-width",
-1));
  +                    request.setAttribute(attribute, param.getParameter("image-width", ""));
                   }
                   break;
               case Types.BIT:
  @@ -349,6 +350,7 @@
                   synchronized (this.files) {
                       param = (Parameters) this.files.get(imageFile);
                       statement.setInt(position, param.getParameterAsInteger("image-height",
-1));
  +                    request.setAttribute(attribute, param.getParameter("image-height",
""));
                   }
                   break;
               case Types.CHAR:
  @@ -358,6 +360,7 @@
                   synchronized (this.files) {
                       param = (Parameters) this.files.get(imageFile);
                       statement.setInt(position, param.getParameterAsInteger("image-size",
-1));
  +                    request.setAttribute(attribute, param.getParameter("image-size", ""));
                   }
                   break;
           }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message