I’m familiar with Vaadin 8 where the upload is received by a receiver class.
What’s the equivalent in Vaadin 10? The documentation states that a Servlet needs to be created to receive the file. While I understand what the servlet should do it’s not clear to me how to pass the “receive event” to the serverside UI i.e. to execute some kind of callback (in the same session) which in turn modifies the client.
Please point me in the right direction or provide an example.
That documentation would be for when you’re creating a custom (non-Flow) backend for the <vaadin-upload> component. That could probably be stated somewhere more clearly.
How can I call uploadFiles on Upload component from java?
I can not also find how to reset Upload component. I mean to clear file list.
Can you please provide an example.
I want call the method uploadFiles. Client run application in browser. He wants select files, enter some data in form and only then, if data is correct, send all files together at once to server.