Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1153

enable-uploads remark added

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8
    • None
    • - Samples
    • None
    • Operating System: other
      Platform: Other
    • 28810

    Description

      Added a remark that users have to enable uploads in order for this example to
      work. This could also be done with an exception handler pipeline ofcourse but
      this seems simpler.

      Index: ./src/webapp/samples/stream/uploadfile.xml
      ===================================================================
      RCS file: /home/cvspublic/cocoon-2.1/src/webapp/samples/stream/uploadfile.xml,v
      retrieving revision 1.1
      diff -u -r1.1 uploadfile.xml
      --- ./src/webapp/samples/stream/uploadfile.xml 6 Mar 2004 14:05:03 -0000 1.1
      +++ ./src/webapp/samples/stream/uploadfile.xml 6 May 2004 14:57:39 -0000
      @@ -16,10 +16,14 @@
       -->
       <page>
        <title>B2B processing</title>
      - <content>
      + <content>
         <form action="process-order" id="FORM1" method="post" name="FORM1"
               enctype="multipart/form-data">
      - <para>Upload your XML document here:</para>
      + <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>
      + <br/>
      + <para>Upload your XML document here:</para>
              <input type="file" name="Foo"/>
              <input id="submit1" name="submit1" type="submit" value="Submit"/>
         </form>

      Attachments

        Activity

          People

            Unassigned Unassigned
            heymjo Jorg Heymans
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: