The effect of response.files.append('http://../lib/OpenLayers.js')
is that the .sj file gets included in the header of the layout.html
This assumes you have a recent web2py_ajax.htmlcheck the generated html to see if it is there. On Dec 21, 4:56 am, haftish21 <[email protected]> wrote: > def index(): > response.files.append('http://../lib/OpenLayers.js') > ... > > While I try to call functions from OL library (I'm using pydermonkey > module): > > I'm still getting OpenLayers is not defined error. Can't I call > objects and functions from response files??? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

