Since no one's replied, I guess there's no way to distinguish. Empty file box and invalid file are one and the same, and Wicket doesn't expose that granularity.
I tried attaching a validator to the file box for an "invalid file" check and also did setRequired(true) to check for blanks, and the validator never even gets fired, it's always the "Field Required" error even if it's non-blank. Oh well. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Need-to-distinguish-between-FileUpload-s-Empty-Field-and-Bad-File-tp3515034p3515681.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org