[ http://issues.apache.org/jira/browse/WICKET-24?page=all ]
Frank Bille Jensen updated WICKET-24: ------------------------------------- Fix Version/s: 1.3 2.0 I have committed a patch for this for 2.0. When we start working on 1.3 in a week or so I will commit it to 1.3 as well. (Because there are currently something wrong with associating commits to an issue, you can't see the commit on the subversion commits tab: http://svn.apache.org/viewvc?view=rev&revision=468969) > FileUpload testing helper > ------------------------- > > Key: WICKET-24 > URL: http://issues.apache.org/jira/browse/WICKET-24 > Project: Wicket > Issue Type: Improvement > Components: wicket > Affects Versions: 1.2.3 > Reporter: Alexander Kellett > Assigned To: Frank Bille Jensen > Priority: Minor > Fix For: 1.3, 2.0 > > > Something to the effect of: > public void addFile(String fieldName, File file, String contentType) { > MockHttpServletResponse servletResponse = > wicketTester.getServletResponse(); > servletResponse.addFile(fieldName, file, contentType); > } > In FormTester would be really useful. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira