[web2py] Re: response.files with no file suffix

2012-09-22 Thread howesc
i added http://code.google.com/p/web2py/issues/detail?id=1025. thanks! On Friday, September 21, 2012 7:47:35 PM UTC-7, Massimo Di Pierro wrote: > > There was a way to do this but apparently got broken. Please open a ticket > and I will put it back tomorrow. > > > On Friday, 21 September 2012 15:

[web2py] Re: response.files with no file suffix

2012-09-21 Thread Massimo Di Pierro
There was a way to do this but apparently got broken. Please open a ticket and I will put it back tomorrow. On Friday, 21 September 2012 15:07:28 UTC-5, howesc wrote: > > Hello, > > I have a desire to do the following: > response.files.append('http://maps.google.com/maps/api/js?sensor=false') >

[web2py] Re: response.files with no file suffix

2012-09-21 Thread howesc
i can put web2py_ajax.html not in my head i think. :) rightand when i first wrote this blocks were not as handy and blah blah blah. perhaps it's time for me to update my code a bit. thanks for the feedback! cfh On Friday, September 21, 2012 1:24:31 PM UTC-7, Niphlod wrote: > > I load it a

[web2py] Re: response.files with no file suffix

2012-09-21 Thread Niphlod
I load it asynchronously using a javascript snippet, never wanted to put that in . This is not a "limitation" per se, you can include it in your template and/or insert some code in web2py_ajax.html and "solve" the problem. Anyway, as for current response.include_files() capacity, assuming that

[web2py] Re: response.files with no file suffix

2012-09-21 Thread howesc
good questionmaybe pass a tuple of (URL, type) to response.files.append? but right now tuples are interpreted as inline CSS or JS... the other thought is that this ends in /jswould it be acceptable to assume .js or /js are both js file types? does anyone know if /js is a google conve

[web2py] Re: response.files with no file suffix

2012-09-21 Thread Niphlod
how do you propose to detect the correct embedding code (as in