[Laszlo-dev] For Review: Change 20070604-ben-a Summary: Add file upload (swf8 only)
promanik at laszlosystems.com
Mon Jun 4 19:34:45 PDT 2007
Approved, but I recommend 3 changes.
1. The documentation in fileupload.lzx should mention an additional step
for Windows users. The file storage path in upload.jsp.txt must be changed
on Windows (and potentially other platforms).
2. In two places in multiplefileupload.lzx is:
Why can't this simply be,
3. In test-multiplefileupload.lzx, there is a typo-o,
<button onclick="mul.setNumFields(1)" text="Set number of fields to 2"/>
>Change 20070604-ben-a by ben at cooper.local on 2007-06-04 15:56:07 PDT
> in /Users/ben/src/svn/openlaszlo/branches/legals
> for http://svn.openlaszlo.org/openlaszlo/branches/legals
>Summary: Add file upload (swf8 only)
>New Features: Now you can upload files, when paired with a working
>Bugs Fixed: LPP-878 Add support for file upload
>Technical Reviewer: pbr (pending)
>QA Reviewer: frisco (pending)
>Doc Reviewer: (pending)
>This contribution from yfang provides flash8 file upload capability when
>paired with a working servlet. An example servlet is included with the two
>examples, but it is shipped with a .jsp.txt extension, so we don't open a
>giant hole for anyone to upload anything onto any OL server.
>The file upload component will ONLY work with lzr=swf8, because it uses
>the swf8 file upload support. This is not expected to work out of the box!
>There are TWO steps
>which must be done
>to make it work. One, rename upload.jsp.txt to upload.jsp. Two, get
>servlets.com, and install it in tomcat.
>(Note that if you run with another runtime, there is just a text
>message saying that it requires swf8.)
>Software Engineer, Open Laszlo / Laszlo Systems ben at laszlosystems.com
More information about the Laszlo-dev