Thanks for your quick response. Op vrijdag 21 december 2012 06:14:25 UTC+1 schreef rochacbruno het volgende: > > if not request.ajax: > response.menu = _menu() > > On Thu, Dec 20, 2012 at 1:52 PM, Martijn Hermans > <martijn...@gmail.com<javascript:> > > wrote: > >> When I handle a request in Web2Py it builds a menu in models/menu.py. >> This behaviour is exactly what I want for a normal request, but I want to >> skip this, when I make an ajax-call. >> >> Is this possible? >> >> thx, >> >> Martijn >> >> -- >> >> >> >> > >
--