crossley    2004/05/07 10:14:13

  Modified:    src/webapp/samples/stream uploadfile.xml
  Log:
  Add a remark that users need to enable uploads.
  Submitted by: Jorg Heymans
  Issue: 28810
  
  Revision  Changes    Path
  1.2       +12 -8     cocoon-2.1/src/webapp/samples/stream/uploadfile.xml
  
  Index: uploadfile.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/stream/uploadfile.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- uploadfile.xml    6 Mar 2004 14:05:03 -0000       1.1
  +++ uploadfile.xml    7 May 2004 17:14:13 -0000       1.2
  @@ -15,13 +15,17 @@
     limitations under the License.
   -->
   <page>
  - <title>B2B processing</title>
  +  <title>B2B processing</title>
     <content>
  -  <form action="process-order" id="FORM1" method="post" name="FORM1"
  -        enctype="multipart/form-data">
  -     <para>Upload your XML document here:</para>
  -     <input type="file" name="Foo"/>
  -     <input id="submit1" name="submit1" type="submit" value="Submit"/>
  -  </form>
  - </content>
  +    <form action="process-order" id="FORM1" method="post" name="FORM1"
  +       enctype="multipart/form-data">
  +      <para>Note: You need to enable uploads in order for this to work! <br/>
  +        To enable uploads, set parameter <i>enable-uploads</i> in
  +        cocoon/WEB-INF/web.xml to <i>true</i>.
  +      </para>
  +      <para>Upload your XML document here:</para>
  +      <input type="file" name="Foo"/>
  +      <input id="submit1" name="submit1" type="submit" value="Submit"/>
  +    </form>
  +  </content>
   </page>
  
  
  

Reply via email to