weblocks icon indicating copy to clipboard operation
weblocks copied to clipboard

Continuations don't work in some cases

Open html opened this issue 11 years ago • 0 comments

This code works well

(do-page 
 (make-widget 
  (lambda (&rest args)
   (with-html 
    (render-link 
     (lambda (&rest args)
      (answer (first (widget-children (root-widget)))))
     "back")))))

And this does not

(do-page 
  (lambda (&rest args)
   (with-html 
    (render-link 
     (lambda (&rest args)
      (answer (first (widget-children (root-widget)))))
     "back"))))

The difference is "make-widget"

html avatar Oct 16 '13 19:10 html