Macro: CALL-AS-WINDOW

Documentation

Just like CALL but the new component is used for the entire window. In other words the new component will be used to render the entire browser window, independant of the current component's position. The new component musttherefore remember to render as an entirea html page. This is usefull for dealing with modal componnet like alerts and dialogs which must be dealty with before the user can continue.

Source

(defmacro call-as-window (component-type &rest component-init-args)
  "Just like CALL but the new component is used for the entire
window. In other words the new component will be used to render
the entire browser window, independant of the current component's
position. The new component musttherefore remember to render as
an entirea html page.

This is usefull for dealing with modal componnet like alerts and
dialogs which must be dealty with before the user can continue."
  `(call-component (context.window-component *context*)
                   (make-instance ,component-type ,@component-init-args)))
Source Context