Hello,

I want to implement the functionality provided by Wicket's JIRA for attaching images to an issue.

Essentially, when a file name is selected, it is uploaded via ajax and the form submit button is disabled while uploading takes place. When the upload is complete, an image thumbnail is updated and the submit button is re-enabled.

I know how to generate a thumbnail of an image, so don't answer that part. Also, disabling and enabling the button is an easy task. I struggle with the file uploading part...

I tried simply adding a AjaxFormComponentUpdatingBehavior("onchange") to my FileUploadField but all I get using that is the feedback message "Field 'file' is required."

Any ideas?

Thanks,
Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to