I'd like to see dropzone support added, as used by most modern web applications. As an example this link: http://www.dropzonejs.com/ (I'm not affiliated with this project, but I can hardly just add a link to facebook or google :-)
Updated by Daniel McRobb over 7 years ago
I attached what I'm using for drag and drop uploads. It's not generic since it's deep inside my gallery software, but hopefully it provides enough information for whatever the Wt team would like to do.
My DropUpload class inherits from WLabel, mostly because it made it easy for me to get the styling behavior I wanted. The UploadResource class will look familiar.
There's some extra stuff in the code for handling drop type uri-list. I need that for my use cases, but all it does is send the URIs to the server. Could just be removed.
Delete or modify the Syslog stuff. I didn't include the code for that since it's in my own separate C library. And all of my servers are FreeBSD so I haven't checked portability.