Prev Next

class Page(rend.Page):
docFactory = loaders.htmlfile('hellohtml.html')
ctr = 0
def data_group_names (self, context, data):
return iter (["Chipy", "BayPIGgies", "boston-pig", "ZPUG"])
def render_my_sequence (self, context, data):
print [str (d) for d in data]
return rend.sequence (context, data)
Doesn't work.