Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Example of upload implementation

Max Hellstrand
10 years ago Mar 23, 2012 10:06am

In our web application were having an upload feature. I've looked through the examples in the Vaadin Sampler and in the Book of Vaadin, but I'm looking for another approach that none of these examples cover.

Were making use of the DragAndDropWrapper and the conventional file browser. And the example I'm looking for is how to specify a file, in our case either by dropping the file in the browser or by selecting it in the file browser. and have it idle there until the user clicks an upload button. Does anyone know of an example like this?

I find the Upload component quite hard to get a grip on, and I don't know how to make an external button start a workflow that has been prepared either by the drop box or by the Upload component.

Any input on this would be very appreciated! =)

/Max

Last updated on Mar, 23rd 2012
Mathias Clerc
10 years ago Mar 26, 2012 4:55am