kotcrab/vis-ui

Should FileChooser work on HTML?

Closed this issue · 3 comments

I'm pretty new to GWT/HTML, but I am trying to compile my project using html:superDev and it fails, errors show this;

  [ERROR] Line 20: No source code is available for type com.kotcrab.vis.ui.widget.file.FileChooser; did you forget to inherit a required module?
  [ERROR] Line 22: No source code is available for type com.kotcrab.vis.ui.widget.file.FileChooser.Mode; did you forget to inherit a required module?
  [ERROR] Line 23: No source code is available for type com.kotcrab.vis.ui.widget.file.FileChooser.SelectionMode; did you forget to inherit a required module?
  [ERROR] Line 28: No source code is available for type com.kotcrab.vis.ui.widget.file.StreamingFileChooserListener; did you forget to inherit a required module?
  [ERROR] Line 54: No source code is available for type com.kotcrab.vis.ui.widget.file.FileChooserListener; did you forget to inherit a required module?

Is the FileChooser actually compatible with HTML or do I need to find another way to open files in web?

Awesome project by the way.

It's not compatible as stated in the wiki and Javadocs.

Chooser is platform dependent and can be only used on desktop.

You also might have forgotten to add GWT inherits. See main repo page for details.

<inherits name='com.kotcrab.vis.vis-ui' />

Do you know if there is any possible way to open or save local files in HTML?

Sorry, I don't really know GWT.