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 after the
response.files.append(...)



On Feb 21, 2:20 pm, sherdim <sher...@gmail.com> wrote:
> Instructions "response.files.append" for new js and css imports don't
> work in the view file when inserted in the body.
>
> Is it by design? and they are allowed in the head of layout.html only?
>
> Vale!

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to