I believe view files have to be within the /views folder. Alternatively, you can manually import the parse_template function from gluon.template and pass it the approriate view path and environment, but you're probably much better off just keeping your views in the /views folder (for one thing, that will enable you to compile your views, which speeds up requests).
Anthony On Thursday, April 26, 2012 3:53:31 PM UTC-4, CtrlSoft wrote: > > i have a file located under static folder that i want to return as view > > > i tried this: > def myfunction(): > > response.view = 'static/tinymce/jscripts/tiny_mce/plugins/files.html' > > return dict() > > but doesnt workt > any ideas? > >

