On Thu, Jan 10, 2013 at 11:05 AM, monika <[email protected]> wrote:

>
> this is my java code.
>
> final FileUploadField fileUpload = new FileUploadField("fileUpload",
>                                 new PropertyModel(test, "fileUpload"));
> fileUpload.setRequired(true);
> add(fileUpload);;
>
> in properties file
> form.fileUpload.uploadFailed= plz upload file
>

The resource key should be: fileUpload.Required=plz upload file


>
> even there is no file uploaded in form submission, validation message "plz
> upload file" error indication not work. there is no effect on validation.
> how to resolve it?
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/file-upload-validation-not-working-tp4655218p4655255.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to