Thanks for the clarification, Anthony.
On Dec 20, 12:17 pm, Anthony <abasta...@gmail.com> wrote: > Adding to response.files should happen before web2py_ajax.html is included > (e.g., in the head of layout.html, or even in the controller or a model > file). The reason is that the code that actually includes the files listed > in response.files is in web2py_ajax.html. > > Anthony > > > > > > > > On Monday, December 19, 2011 11:06:41 PM UTC-5, lyn2py wrote: > > > I am on 1.99.4 stable > > > I tried include some files with response.files.append() > > 1. outside of layout.html and > > 2. after {{include 'web2py_ajax.html'}} in layout.html, > > but they didn't seem to appear in the html, for example: > > {{response.files.append(URL('static','js/jquery.example.js'))}} > > > Is this expected? I haven't tried this before on previous versions.