[ https://issues.apache.org/jira/browse/WICKET-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-220: ------------------------------------ Assignee: Eelco Hillenius > Form's handleMultiPart() method needs to be overridable to allow custom > processing of multi-part streams > -------------------------------------------------------------------------------------------------------- > > Key: WICKET-220 > URL: https://issues.apache.org/jira/browse/WICKET-220 > Project: Wicket > Issue Type: New Feature > Components: wicket > Affects Versions: 1.2.4, 1.2.5, 1.3, 2.0 > Reporter: Bob Brokman > Assigned To: Eelco Hillenius > Fix For: 1.3, 2.0 > > Attachments: FileUploadField.java, StreamUploadField.java > > > Currently handleMultiPart() method is declared "private final" in > wicket.markup.html.form.Form class, and implementation of the uploaded parts > of the multi-part stream on the server side.is tied to the File-type in the > code, especially the code related to the FileUploadField class. Making > handleMultiPart() "protected" instead of "private final" will allow custom > "per form" multi-part HTTP POST stream processing. In particular, the > processing will become possible, which is not tied to a particular > implementation of the uploaded parts of the multi-part stream on the server > side. It shall be noted in the Javadoc that overriding handleMultiPart() > method will likely break FileUploadField logic. Also, it may be worth > extracting the non-File-specific portion of the FileUploadField class logic > into the base class (e.g., StreamUploadField), and advise using that base > class instead of FileUploadField for non-File-specific uploads. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira