Hi,

I'd suggest you to use some JS plugin that specializes in this area, e.g.
http://plugins.krajee.com/file-input.
See http://plugins.krajee.com/file-input#events for all hooks that it
provides.

Wicket-Bootstrap (https://github.com/l0rdn1kk0n/wicket-bootstrap) provides
integration with it. Demo at
http://wb-mgrigorov.rhcloud.com/extensions/BootstrapFileInput

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Mar 9, 2017 at 9:22 PM, john.yang.cats <[email protected]>
wrote:

> I've been dealing with FileUploadField where I could select a file and let
> the jquery populate the list of selected file names on the screen.  Now,
> I'd
> like to try having a Wicket TextField next to each file name so that the
> document name can be entered, validated, and saved in the database.  Can I
> catch some Ajax Event upon selecting a file, so that the Wicket TextField
> can be populated?  For example, if I select 3 files, I'd like to have 3
> TextFields populated.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Ajax-Event-on-Selecting-File-tp4677284.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]
>
>

Reply via email to