Hi guys, I have a problem that I don't really know how to deal with.
I will explain the context:
I have an *index.html* that calls two components (LOAD)
One of the components is a controller with an index function and within
this function I put the following code:
def index():
path = os.path.join(request.folder, 'static', 'folder_files')
related_media = Expose(path, basename='folder_files')
return dict(related_media=related_media)
The view is trivial:
{{=related_media}}
The problem is that when I click for example in a folder the result is not
loaded in the component.
Is it possible to make it work only inside the component?
Thank you very much for your help.
Kind regards
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.