Thanks for your suggestion Dan. I'd rather avoid yet another 3rd part
dependency but if no better option exists, I'll have a look.
Regards,
Bertrand
On 12/12/2011 2:31 PM, Dan Retzlaff wrote:
We use an inexpensive commercial product called Plupload to achieve the
effect you describe. http://www.plupload.com/
A mounted Wicket resource receives the uploads. It does quite well, though
not so well that testing in your target browsers isn't necessary. :)
On Mon, Dec 12, 2011 at 11:02 AM, Martin Grigorov<[email protected]>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]
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
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]