* Jonathan Lange <[EMAIL PROTECTED]> [2006-10-13 09:00:54 +1000]: > 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>
I generally just do something like this: <ul n:render="products"> <li n:pattern="item"> <n:slot name="name" /> </li> </ul> The "products" renderer is then implemented by handing the relevant data to a helper function. -- mithrandi, i Ainil en-Balandor, a faer Ambar
signature.asc
Description: Digital signature
_______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
