New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a file upload button for binary fields #131
Comments
As you may already notice on demo site: after selecting of particular field type then you can select proper visualizer for that type. By default almost all types has "default" visualizer, but some are missing (like binary). So: visualizers are registered right there: https://github.com/PhantomYdn/Orienteer/blob/master/orienteer-core/src/main/java/ru/ydn/orienteer/components/properties/UIVisualizersRegistry.java And as I said there is a default one which should be used if no specific visualizer was specified: Visualizer is Orienteer's entity, but to be able create real component for view and edit specific types you should be familiar with Apache Wicket. I recommend following book: http://wicket.apache.org/guide/guide/ . Book is really cool and can be easily just within one evening:) |
Thanks a lot for the help to get started and the link to the wicket guide. It's a great framework! I'm now at the point of finalizing the |
|
I have to admit that I have so superficial knowledge about orientdb that I didn't realize that there's more than one types of binary data (storage). I'll have to become familiar with that. Regarding the type of
Regardless of how different action are put in place for the three different types, I think we need partially loadable |
Small note for better picture. For Orienteer 1.1 I'm planning to make visualizers configurable, so it'll be possible in this particular case to specify: a) how to store b) how to "preview", c) content type d) default filename and etc.. |
I've seen that you've opened quite a lot of issues without descriptions of which I can guess what they're supposed to stand for, but it's quite hard without. Currently the abstraction in the model is very good and the changes you scetched in #131 (comment) seem to be realizable without any drastic changes, so work on a "primitive" binary upload visualizer wouldn't be lost imo. |
Duplication of #41 |
next to the current text input field. I guess
orientdb
is capable of handling streamed input of binary data and I think I could implement that myself if you could give me a pointer where to start.The text was updated successfully, but these errors were encountered: