Thanks for your reply.
I tried with IE 7 (no html 5, at least I think) and the ajax file upload
works fine. The only part missing is the picture thumbnail preview of
the uploaded image.
On 12/12/2011 2:02 PM, Martin Grigorov wrote:
Hi,
I think this feature works only on new browsers, HTML5 ones.
See wicketstuff html5 project. There is an integration with the new
File API, part of HTML5
On Mon, Dec 12, 2011 at 7:38 PM, Bertrand Guay-Paquet
<[email protected]> wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]