from KidExamplePage import KidExamplePage class Main(KidExamplePage): def respond(self, trans): from WebKit.URLParser import ServletFactoryManager for factory in ServletFactoryManager._factories: if factory.name().startswith('KidServlet'): trans.application().forward(trans, 'Welcome') KidExamplePage.respond(self, trans) def writeContent(self): self.writeln('''
The KidKit plug-in is based on the kid package available at www.kid-templating.org.
''')