[web2py] Re: response.files.append are broken

2010-02-23 Thread sherdim
oh, yes I have looked at the code in the web2py_ajax.htm - ingenious and simple ! Though it is a narrow topic of using of web2py_ajax, which is optional, it concerns an important issue of the following to the web standards. The W3C validator swears hard on styles inside body. But the template sys

[web2py] Re: response.files.append are broken

2010-02-21 Thread mdipierro
yes. views are executed sequentially therefore response.files.append(...) has not affect after {{import 'web2py_ajax.html'}} where the actually import is actually done. You can do {{reponse.files.append()}}{{extend 'layout.html'}} bla bla bla since the layout will import web2py_ajax.html afte