class Said(Task): def go(self, b): said = b.call(View(lambda h: h.form(h.input.action(lambda v: b.answer(v)), h.input(type='submit')))) b.call(View(lambda h: h.a('Click here').action(b.answer))) b.call(View(lambda h: h.div('You said: ', said)))
-----