Skip to content

custom version of vaadin's upload component extended with meaningful 'file-reject' and 'file-remove' events

Notifications You must be signed in to change notification settings

olafj/extendend-vaadin-upload-flow

Repository files navigation

extendend-vaadin-upload-flow

custom version of vaadin's upload component extended with meaningful 'file-reject' and 'file-remove' events and custom upload-receiver-implementations TempFileBuffer (MultiTempFileBuffer).

better events

var upl = new FileUpload();
        
upl.addRejectListener(event -> {
    System.out.println(event.getFileName()); 
});

upl.addRemoveListener(event -> {
    System.out.println(event.getFileName());
});

bindable (experimental)

var bu = new BindableSingleFileUpload();
binder.forField(bu).asRequired().bind(BindableBeanExample::getUploadFile, BindableBeanExample::setUploadFile);

About

custom version of vaadin's upload component extended with meaningful 'file-reject' and 'file-remove' events

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages