Re: [hunchentoot-devel] easy-handler outputs to REPL instead of client

23 Dec
2011
23 Dec
'11
2:01 a.m.
On Thu, Dec 22, 2011 at 6:18 PM, Jens Teich <info@jensteich.de> wrote:
(define-easy-handler (tyler :uri "/tyler") () (multiple-value-bind (records fields) (select [genus] [species] :from "specimens") (loop for rec in records do (loop for label in fields for val in rec do (with-html-output (*standard-output*) (:dt :class label (str label)) (:dd :class label (str val)))))))
use with-html-output-to-string
with-html-output-to-string produces no output, either to the REPL or to the browser. Entering just the (M-V-B ...) expression (i.e., removing the define-easy-handler form) at the REPL also produces no output using W-H-O-to-string. Cheers, Tyler
4887
Age (days ago)
4887
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tyler Smith