Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New app template: Use widget-children instead of the deprecated compo…

…site-widgets.
  • Loading branch information...
commit 36f1e7e125c64e1d711ad9ecadbf1629e0c50869 1 parent 4a04ac5
Leslie P. Polzer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/new-app-templates/init-session.lisp
4 scripts/new-app-templates/init-session.lisp
View
@@ -2,8 +2,8 @@
(in-package :{APPNAME})
;; Define callback function to initialize new sessions
-(defun init-user-session (comp)
- (setf (composite-widgets comp)
+(defun init-user-session (root)
+ (setf (widget-children root)
(list (lambda (&rest args)
(with-html
(:strong "Happy Hacking!"))))))
Please sign in to comment.
Something went wrong with that request. Please try again.