try something like this
from gluon.compileapp import LoadFactory def renderimages(self, page=1, postid=0): """ Render Images """ curvars = {} curvars['page']=page curvars['postid']=postid environment = {} environment['request'] = current.request environment['response'] = current.response LOAD = LoadFactory(environment) return LOAD(self.controller_name, 'imageslist.html', vars=curvars, ajax=True) 2011/11/25 monotasker <scotti...@gmail.com> > Hmmm ... Those don't seem to be working. > > from gluon import LOAD > > This doesn't seem to import anything. PyDev tells me that there's an > "unresolved import" Still get the 'NoneType not callable' error. > > > from gluon import current > LOAD = current.LOAD > > I get AttributeError: 'thread._local' object has no attribute 'LOAD' -- http://martin.tecnodoc.com.ar