Issue Details (XML | Word | Printable)

Key: FILEUPLOAD-105
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jeff Sackett
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons FileUpload

Support for Portlets (168)

Created: 06/Oct/03 09:27 PM   Updated: 09/Mar/07 08:32 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File PortletDiskFileUpload.java 2003-10-06 09:28 PM Jeff Sackett 9 kB
Java Source File PortletFileUpload.java 2003-10-06 09:29 PM Jeff Sackett 5 kB
Java Source File PortletFileUploadBase.java 2003-10-06 09:29 PM Jeff Sackett 22 kB
Environment:
Operating System: other
Platform: All

Bugzilla Id: 23620


 Description  « Hide
I have created 3 new files (PortletDiskFileUpload.java,
PortletFileUpload.java, and PortletFileUploadBase.java) to support file
uploads within portlets. These files are slightly modified versions of
DiskFileUpload, FileUpload and FileUploadBase. If you are interested in added
this support I can provided the appropriate code.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jeff Sackett added a comment - 06/Oct/03 09:28 PM
Created an attachment (id=8462)
PortletDiskFileUpload.java

Jeff Sackett added a comment - 06/Oct/03 09:29 PM
Created an attachment (id=8463)
PortletFileUpload.java

Jeff Sackett added a comment - 06/Oct/03 09:29 PM
Created an attachment (id=8464)
PortletFileUploadBase.java

Martin Cooper added a comment - 31/Oct/04 01:27 PM
Fixed in the 20041031 nightly build.

Rather than apply the supplied patches, I've generalised the existing code and
split out and minimised the servlet-specific and portlet-specific portions. The
end goal is still satisfied, though - portlets are now supported.

Since I have not been able to do much testing of the portlet specific code, I'd
appreciate feedback from those using FileUpload in such an environment.