Weblocksの make-appで作った結果
昨日の make-app で作成したソースを見ていたら src/init-session.lisp の内容が以下のようになっていました。
(in-package :hoge) ;; Define callback function to initialize new sessions (defun init-user-session (comp) (setf (composite-widgets comp) (list (lambda (&rest args) (with-html (:strong "Happy Hacking!"))))))
「composite-widgetsって具体的になりするの?」と思ってweblocksのソース(weblocks/src/widgets/composite.lisp)を見たところ、ファイルの先頭部のコメントに「do not use in new code!」の記述。お前が生成したファイルで使ってるくせに何を仰っているのかしら、と思った。
stableではなくdevの方では widget-children を使うように変わっていたのでした。
dev版バンザイ、というお話でした。