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) ?

Thanks
Alessandro

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to