sorry, seems I didn't explain myself well: currently we have this on our Diazo theme:
<replace css:content=".foo" css:theme=".foo" href="/@@foo" />
so what happens now is I call the browser view and I get
u'bar' as a result and I use that on the themed site.
so, right, I'm using the view
__call__ method now to achieve this.
the use case is that I have to add a new feature that requires something like that again, and I was wondering if there's a different way to solve this besides the obvious creation of another helper view.
so my initial though was: "what if I can access the result of a function on the view directly", that way I can add any number of functions and use them.
I know this works in other places (like page templates), but I don't know why it doesn't work when you traverse directly to the function in the browser.
should I just add a new browser view, then?