Re: [racket] how to display formlets inside templates

2012-01-07 Thread keyd...@gmx.de
Thanks so much Jay, that helps :-) Ciao, Sigrid Am 06.01.2012 um 19:57 schrieb Jay McCarthy: > formlet-display returns a forest of xexprs > > Templates are about writing the text directly as a string. > > Whenever you want to include any non-string content in a template, > you'll need to rend

Re: [racket] how to display formlets inside templates

2012-01-06 Thread Jay McCarthy
formlet-display returns a forest of xexprs Templates are about writing the text directly as a string. Whenever you want to include any non-string content in a template, you'll need to render it as a string. In the case of the result of formlet display, that means something like @in[xe (formlet-d

[racket] how to display formlets inside templates

2012-01-06 Thread keyd...@gmx.de
Hi, sorry for coming with a web server-related question again already, but I have problems figuring out how to display formlets inside templates. I've tried several ways, the latest being: ... (send/suspend/dispatch (lambda (make-url) (get-main-template #:title "start"