Documentation
Given a lambda returns an URL (as a string) which will call
the lambda.
The COMPONENT parameter is passed directly to COMPUTE-URL, FRAME
is passed to MAKE-NEW-ACTION.
Source
(defun action-href (action-lambda
&key (component (context.window-component *context*))
(frame (context.current-frame *context*)))
"Given a lambda returns an URL (as a string) which will call
the lambda.
The COMPONENT parameter is passed directly to COMPUTE-URL, FRAME
is passed to MAKE-NEW-ACTION."
(print-uri-to-string
(compute-url component
:action-id (make-new-action frame action-lambda))))Source Context