#!/usr/local/bin/awful
(use srfi-1 html-utils html-tags awful srfi-13 regex)
(define-page "/foo"
(lambda ()
(with-request-variables (nick)
(
id: "anotherdiv"
(
(string-append "Oh it's you!" nick)))))
method: 'post)
(define-page (main-page-path)
(lambda ()
(
id: "adiv" (
"hallo")
(form
(string-append "Your nick: "
(text-input 'nick))
action: "/foo"
method: "post"))))