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]

Reply via email to