Re: Form Doesn't Reload on Bad Filename in File Input Box

2011-05-19 Thread eugenebalt
I think I know the answer, it's an IE-specific issue.

Some more info: http://www.webmasterworld.com/html/3290988.htm

Essentially, in IE6 and 7, if your file input doesn't begin with "C:\" or
some other drive-letter path, IE won't even try to submit. But if it does,
then it will submit, even if the file does not exist.

I was typing in a string like "abcd" and wondering why I wasn't getting the
form to submit.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Form-Doesn-t-Reload-on-Bad-Filename-in-File-Input-Box-tp3536134p3536146.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



Form Doesn't Reload on Bad Filename in File Input Box

2011-05-19 Thread eugenebalt
My form doesn't reload on bad (invalid) filename entered in the FileUpload
input box.

But it *does* reload in these 2 cases:

1) Empty field
2) File exists

Does anyone know why? I have to display a message on "invalid file" just
like I do with the other two cases, "no file specified" and "file OK".

Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Form-Doesn-t-Reload-on-Bad-Filename-in-File-Input-Box-tp3536134p3536134.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