Arc Forumnew | comments | leaders | submitlogin
1 point by apoirier 4218 days ago | link | parent

With our soon-to-be-released Python framework:

    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)))