patches are welcome, if you want to contribute. For the double slash, I assume that there's a problem parsing args .... ['static', 'css', '']. Expose should probably check for empty values into args before re-rendering the thing as a url (something/static/css// vs something/static/css/)
Open an issue on google code and attach the patch so this doesn't get lost. On Wednesday, October 31, 2012 1:19:42 PM UTC+1, Richard Penman wrote: > > Nice! I will modify this for my own use. > What is this included in gluon for? > > I noticed a double slash is shown for sub-folders: > base//css/ (<- when in static/css) > > > On Wed, Oct 31, 2012 at 8:09 PM, Niphlod <nip...@gmail.com <javascript:>> > wrote: > > there's something, not really tested, that you can definitely try: > > from gluon.tools import Expose > > myfolders = Expose() > > return dict(myfolders=myfolders) > > > > On Wednesday, October 31, 2012 3:04:14 AM UTC+1, Richard Penman wrote: > >> > >> Is there an existing app / plugin that supports selecting a file from > the > >> server? > >> Specifically I want to select a filepath from the /static/ directory > and > >> sub-directories. > >> > >> Richard > > > > -- > > > > > > > --