<html>
<head>
<title>Patterns</title>
</head>
<body>
<p>Hello to:
<ul nevow:data="group_names" nevow:render="sequence">
<span nevow:pattern="divider"><br /></span>
<li nevow:pattern="header">--------------</li>
<li nevow:pattern="footer">--------------</li>
<li nevow:pattern="item" nevow:render="string" />
</ul>
</p>
</body>
</html>
class Page(rend.Page):
docFactory = loaders.htmlfile('hellohtml.html')
ctr = 0
def data_group_names (self, context, data):
return ["Chipy", "BayPIGgies", "boston-pig", "ZPUG"]
yields ...