Upload Helper
Accept single and multi file uploads on every component for Vaadin 14+
Upload-Helper for Vaadin 14+
Accept single and multi file uploads on every component for Vaadin 14+
This component is based on Vaadin's own Upload component and can be used in the same way.
Documentation
License
Sample code
ByteArrayOutputStream buffer = new ByteArrayOutputStream(65536); class FileReceiver implements UHReceiver { @Override public OutputStream receiveUpload(String fileName, String mimeType) { buffer.reset(); return buffer; } } TextField tf = new TextField("TestValue"); tf.setWidth("300px"); UploadHelper uploadHelper = new UploadHelper(tf, new FileReceiver()); uploadHelper.addSucceededListener(inEvent -> { System.out.println(inEvent.getFileName() + " " + inEvent.getMIMEType() + " " + inEvent.getContentLength()); tf.setValue(buffer.toString()); }); add(uploadHelper, tf);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
1.1.1 (2024-01-31)
Changelog
If you find this component usefull, I would really appreciate a rating here or a star on the GitHub Repository.
For Issues and Feature Requests please visit upload-helper/issues on GitHub.
- Released
- 2024-01-31
- Maturity
- STABLE
- License
- MIT License
Compatibility
- Framework
- Vaadin 14
- Vaadin 23
- Browser
- Browser Independent
Upload Helper - Vaadin Add-on Directory
Accept single and multi file uploads on every component for Vaadin 14+Issue tracker
Discussion Forum
Documentation
Author Homepage
Upload Helper version 1.0.0-Beta
# v1.0.0-Beta -- Initial Beta Release
Please report any bug or unintentional behaviour to [GitHub Issues](https://github.com/F0rce/Upload-Helper/issues)
If you have a question or need further help, please use [GitHub Discussions](https://github.com/F0rce/Upload-Helper/discussions)
Upload Helper version 1.1.0
### 1.1.0 (2022-04-21)
## [Changelog](https://github.com/F0rce/upload-helper/releases/tag/v1.1.0)
If you find this component usefull, I would really appreciate a rating here or a star on the [GitHub Repository](https://github.com/F0rce/upload-helper).
For Issues and Feature Requests please visit [upload-helper/issues](https://github.com/F0rce/upload-helper/issues) on GitHub.
Upload Helper version 1.1.1
### 1.1.1 (2024-01-31)
## [Changelog](https://github.com/F0rce/upload-helper/releases/tag/v1.1.1)
If you find this component usefull, I would really appreciate a rating here or a star on the [GitHub Repository](https://github.com/F0rce/upload-helper).
For Issues and Feature Requests please visit [upload-helper/issues](https://github.com/F0rce/upload-helper/issues) on GitHub.