Directory

Drop or Choose Upload - Vaadin Add-on Directory

UI component das combines the classic file chooser upload with a the ability to drop files Drop or Choose Upload - Vaadin Add-on Directory
Drop or Choose Upload is a pure server-side UI component that combines a classic file upload chooser with the ability to drop files onto the component to upload them. The logic of both upload variants is hidden behind a single interface. You can set callbacks for start, finish, fail and progress events (see example). Uploaded files are stored to java.io.tmpdir by default (call setTempFolder to change the location). Alle Parts of the compontent can be customized through getters and setter or overriding. You can access the UI components using getLayout, getDropTextLabel and getChoose. Also all components have css classes for addiontal styling. No Changes to the scss or widgetset are required. * Vaadin 7: Version 1.1 * Vaadin 8: Version 2.0