Check
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/wicket-html5-parent/wicket-html5/src/main/java/org/wicketstuff/html5/fileapi
and its examples. But this uses HTML5 APIs and wont work on your
favorite Internet Explorer.
On Sun, Sep 4, 2011 at 7:35 PM, Christian Huber
Hello, guys,
I've got a FileUploadField as so:
image1UploadField = new FileUploadField(image1_upload, new Model());
I aim to know if the field has value set even before the form gets
processed and the item gets uploaded. I want to minimize traffic and memory
usage of my application.
Not sure if I completely understand what you want to do but as far as I
do I guess the only way to do that is using java script.
You could add a java script validation routine to the submit buttons
onclick handler that aborts submission when the input field has no value.
Another approach