org/apache/wicket/markup/html/form/upload/MultiFileUploadField convertValue
question
------------------------------------------------------------------------------------
Key: WICKET-3495
URL: https://issues.apache.org/jira/browse/WICKET-3495
Project: Wicket
Issue Type: Bug
Components: wicket-core
Affects Versions: 1.5-RC2
Environment: all
Reporter: Richard Emberson
Priority: Trivial
This is more of a question concerning code in the convertValue of
org/apache/wicket/markup/html/form/upload/MultiFileUploadField,
Consider:
for (String filename : filenames)
{
List<FileItem> fileItems = request.getFile(filename);
for (FileItem fileItem : fileItems)
{
uploads.add(new FileUpload(fileItem));
}
}
Is it always the case that the request.getFile(filename); code always returns a
List and
never returns null?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira