FileUploadField should return FileUpload as its converted input
---------------------------------------------------------------
Key: WICKET-1684
URL: https://issues.apache.org/jira/browse/WICKET-1684
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4-M2
Reporter: Ned Collyer
Priority: Minor
Fix For: 1.4-M3
FileUploadField should return FileUpload as its converted input so the file can
be validated.
Eg,
@Override
protected void convertInput() {
setConvertedInput(getFileUpload());
}
Apparently MultiFileUploadField handles this (I've checked, it appears to be in
the convertValue method).
For more context see
http://www.nabble.com/Best-way-of-validating-FileUploadField-td17662018.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.