c5qb-3fe3@spamex.com wrote: >I am using simpletal+quixote with the quixote_tal.py module. I am using >TemplateMethod inside a UI class, and intercepting the call like this: > >class SomeUI > ... > _real_q_index = TemplateMethod('tal/index.html') > > def _q_index(self, *args): > logerr("SomeUI::_q_index: directory = '%s'" > % (self.directory)) > > return self._real_q_index(*args) > >This works so far, but I worried that I might be inadvertantly passing >the >arguments in the wrong order. However, I can't find out either what >_q_index >will be called with in the context of a class, or the ord >args might be passed .. will this work for all cases? Both Template and TemplateMethod instances expect to be called with one argument - a request. You can easily see this in the source, and it's what all web-accesible quixote functions expect to be called with. Perhaps I don't understand your question. -Amos