
9 Apr
2012
9 Apr
'12
10:38 p.m.
Hi. Why doesn't this piece of code work: (defpackage test (:use :cl :hunchentoot :cl-who :parenscript)) (in-package test) (defun index () (with-html-output-to-string (*standard-output* nil) (:html (:head) (:body (:p "click me" :onclick (ps (alert "hello"))))))) (push (create-prefix-dispatcher "/index" 'index) *dispatch-table*) (start (make-instance 'easy-acceptor)) I loaded Edi's init file for Lispworks and I can't even autocomplete :onclick ? When I click on "click me" nothing happens ? Thanks