[ 
https://issues.apache.org/jira/browse/WICKET-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frank Bille Jensen resolved WICKET-24.
--------------------------------------

    Resolution: Fixed

Committed to both 1.3 and 2.0

> FileUpload testing helper
> -------------------------
>
>                 Key: WICKET-24
>                 URL: https://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: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to