> You can put your files in static and they will all be exposed.
>
> You can also create an action like
>
> def static_content():
>      import os
>      files=os.listdir(os.path.join(request.folder,'static'))
>      return HTML(BODY(*[TR(TD(A(f),_href=URL
> (r=request,c='static',f=f)))) for f in files]))
>
> to list the content of the static folder.
Thank you for this explanation!
I will try this out.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to