You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by jv...@apache.org on 2001/05/12 02:31:26 UTC

cvs commit: jakarta-turbine-tdk/src/share/velocity/peer/templates/navigations Menu.vm

jvanzyl     01/05/11 17:31:26

  Modified:    src      build.xml
               src/share/velocity/peer/WEB-INF/src/actions Upload.java
               src/share/velocity/peer/templates/navigations Menu.vm
  Log:
  - hooking in the file upload example, although it appears
    not to work anymore. will track down the problem later.
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-turbine-tdk/src/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	2001/05/10 17:25:35	1.3
  +++ build.xml	2001/05/12 00:31:23	1.4
  @@ -213,7 +213,7 @@
         application.
       -->
       
  -    <ant antfile="share/conf/build-conf.xml" target="tr-props-without-db-values">
  +    <ant antfile="share/conf/build.xml" target="tr-props-without-db-values">
         <property name="conf.home" value="share/conf"/>
         <property name="master.home" value="share/conf/master"/>
         <property name="target.dir" value="${newapp.home}/WEB-INF/conf"/>
  
  
  
  1.2       +1 -1      jakarta-turbine-tdk/src/share/velocity/peer/WEB-INF/src/actions/Upload.java
  
  Index: Upload.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/share/velocity/peer/WEB-INF/src/actions/Upload.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Upload.java	2001/03/28 21:12:49	1.1
  +++ Upload.java	2001/05/12 00:31:25	1.2
  @@ -87,7 +87,7 @@
                */
               File file = fileItem.getStoreLocation();
               file.renameTo(new File(
  -                TurbineServlet.getRealPath("file.contents")));
  +                TurbineServlet.getRealPath("/uploaded-file")));
           }
       }
   
  
  
  
  1.4       +1 -1      jakarta-turbine-tdk/src/share/velocity/peer/templates/navigations/Menu.vm
  
  Index: Menu.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/share/velocity/peer/templates/navigations/Menu.vm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Menu.vm	2001/03/29 02:35:16	1.3
  +++ Menu.vm	2001/05/12 00:31:25	1.4
  @@ -21,7 +21,7 @@
   <br>
   <a href="">Scheduler Service</a>
   <br>
  -<a href="">Upload Service</a>
  +<a href="$link.setPage("Upload.vm")">Upload Service</a>
   <br>
   <a href="">Servlet Service</a>
   <br>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org