[Twisted-web] Handling childs at Nevow

Juanjo Conti jjconti at gmail.com
Fri Jul 24 17:49:48 EDT 2009

At the moment I have this URL working




I have an IndexPage(LivePage) with its

    def child_ter(self, ctx):
        return TerPage()

    def child_graph(self, ctx):
        return GraphPage()


TerPage() an GraphPage() pick the firs element of a global list and
show it in differents ways.

I'd like now to enalble urls like /ter/1, /ter/2, /ter/n so the n
element of the list is picked instead of the first one. How is the
correct way to make that argument reach TerPage and GraphPage


Juanjo Conti

More information about the Twisted-web mailing list