wooey / Wooey

A Django app that creates automatic web UIs for Python scripts.

Home Page:http://wooey.readthedocs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

path selector

lfaino opened this issue · comments

Dear Developer

I have a question. Starting that i love your work, I would like to know if it possible to add a path selector in wooey? I`m working with users that do not have access to the server PC and therefore are not able to navigate the remote PC. do you think that it could be possible to add a path browser/selector in wooey to specific args parser options?

Cheers
Luigi

Hi @lfaino,

This would not be possible as anything specific to argparse. If you'd want to do it, you would have to make a custom widget with your own javascript that would make the remote PC directory browsable. Wooey supports custom widgets (https://wooey.readthedocs.io/en/latest/customizations.html#form-widgets), but there is no support here for custom javascript. You could do that by loading your own javascript in a wooey template.