[bknr-devel] xhtmlgen

Thomas thomas.karolski at googlemail.com
Mon Jun 1 20:02:48 UTC 2009


Hans Hübner schrieb:
> This works for me:
>
> CL-USER> (html ((:form :action "post")
>                 ((:label :for "abc") "abc:")
>                 ((:input :name "abc"))))
> <form action="post"><label for="abc">abc:</label><input name="abc"/></form>
Ah ok, thanks. I guess this is different syntax wise from what I 
expected. I would love to try this out, but I got stuck with with-bknr-page.
How come this does not work:
(defmethod handle-form ((handler register-handler) action)
  (lambda ()
    (with-bknr-page (:title "Test")
      ((:form :id "test"))))

I merely get a page with the basic xhtml header but no content. Is 
with-bknr-page not supposed to be used here?




More information about the Bknr-devel mailing list