[Twisted-web] Don't use the context?

Alessandro aleuser at inwind.it
Tue Oct 17 23:45:46 CDT 2006

Jean-Paul Calderone wrote:
>> Allow me to question your answer with a question: How does one render
>> a sequence without nevow:data directives?
>> <ul n:data="foo" n:render="sequence">
>> <li n:pattern="item">
>> <n:invisible n:data="name" n:render="string"/>
>> </li>
>> </ul>
> Perhaps like this:
>    <n:invisible n:render="foo_sequence" />
> Combined with this:
>    def foo_sequence(self, req, tag):
>        return Sequence(foo)
> Jean-Paul
I didn't understand, and I can't find so much informations on internet: 
in the future the "n:data" will be not available? This will be the only 
modification? And the python rendering functions will be always 
"render_func(self, ctx, data) ?


More information about the Twisted-web mailing list