Not really response.files is for local files. I just add that script tag to
my layout.html.
--
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
Il 24/12/14 14:22, Leonel Câmara ha scritto:
Not really response.files is for local files. I just add that script
tag to my layout.html.
Thank you Leonel and Massimiliano,
that's what I've done... but I wanted to load this script only where needed.
No way to do it programmatically?
M.
--
No way to do it programmatically?
unless you code something of your own, from that url (or any other without
extension) web2py can't figure out what type of script to generate.
on a totally (un)related note, this seems to work fine
3 matches
Mail list logo