Jason Sibre wrote:

Note that even with _q_lookup, you generally want to return the reference that

should be called, not the result of that call..
i.e.:
return dotestconvert
rather than
return dotestconvert(get_request())



"Generally want to"? Why is that? Sometimes you naturally have a function to return; other times not. The main time I've used ._q_lookup is to return a sub-directory, but sometimes you can calcuate the answer all in the same method.


The publisher, seeing it got a callable back, will call it for you.



That's ._q_traverse in Quixote 2. _______________________________________________ Quixote-users mailing list [email protected] http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to