Code Monkey home page Code Monkey logo

filesystem-dataprovider-flow's Introduction

FilesystemDataProvider

FilesystemDataProvider is a data model add-on for Vaadin 23(Flow) providing hierarchical data of the filesystem, and it can be used to supply it to Tree and TreeGrid components. This is fully server side add-on.

The inspiration of this add-on is to provide similar functionality than Vaadin 7's built in FilesystemContainer had. Hence it is useful for Vaadin 7 -> Vaadin 23 migration projects.

Components

  • FilesystemDataProvider: Data provider wrapper of the filesystem

  • FileSelect: Field UI component that allows selecting a single file, value is File

  • MultiFileSelect: Field UI component that allows selecting multiple files, value is Set

  • FtpDataProvider: Data provider wrapper of the FTP client, uses appache commons ftp

  • FtpSelect: Field UI component that acts as FTP client, value is FtpFile

  • FtpFile: Extended FTPFile, that implements Comparable, so that it works with Vaadin's DataProvider API's.

Development instructions

Starting the test/demo server:

  1. Run mvn jetty:run.
  2. Open http://localhost:8080 in the browser.

Publishing to Vaadin Directory

You can create the zip package needed for Vaadin Directory using

mvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions 
mvn install -Pdirectory

The package is created as target/filesystemdataprovider-1.0.0.zip

For more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent

History

Version 3.1.0

  • Fixed icons to be compatible with Vaadin 21 and newer

Version 3.0.0

  • Build against Vaadin 18

Version 2.1.0

  • Add FTP variants

Version 2.0.0

  • First release for Vaadin 10+

filesystem-dataprovider-flow's People

Contributors

tatulund avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.