This is the wuwei Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 07:06:34 2025 GMT+0.
wuwei/wuwei.asdwuwei/src/package.lispwuwei/src/htmlgen-patch.lispwuwei/src/cl-json-patches.lispwuwei/src/config.lispwuwei/src/net-utils.lispwuwei/src/web.lispwuwei/src/ajax-render.lispwuwei/src/web2.lispwuwei/src/wu.lispwuwei/src/debug-utils.lispwuwei/src/session.lispwuwei/src/error.lispwuwei/src/upload.lispwuwei/src/async.lispwuwei/src/autocomplete.lispwuwei/src/dom-objects.lispwuwei/src/eval-server.lispwuwei/src/oauth2.lispwuwei/src/heroku.lispThe main system appears first, followed by any subsystem dependency.
wuweiTools for developing Ajaxy web applications
Mike Travers <mt@hyperphor.com>
MIT
WuWei is a toolkit for building Ajax web pages and web sites in Common Lisp. It’s designed to be light-weight, a toolkit rather than a platform. Features include: Continuation-based AJAX user interfaces; Server-side DOM operations (add/remove elements, visual fades, drag and drop); High-level interfaces to in-place-editing and autocomplete widgets; Login and session management
0.1
aserve (system).
cl-json (system).
mtlisp (system).
ironclad (system).
drakma (system).
src (module).
Modules are listed depth-first from the system components tree.
wuwei/srcwuwei (system).
package.lisp (file).
htmlgen-patch.lisp (file).
cl-json-patches.lisp (file).
config.lisp (file).
net-utils.lisp (file).
web.lisp (file).
ajax-render.lisp (file).
web2.lisp (file).
wu.lisp (file).
debug-utils.lisp (file).
session.lisp (file).
error.lisp (file).
upload.lisp (file).
async.lisp (file).
autocomplete.lisp (file).
dom-objects.lisp (file).
eval-server.lisp (file).
oauth2.lisp (file).
heroku.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
wuwei/wuwei.asdwuwei/src/package.lispwuwei/src/htmlgen-patch.lispwuwei/src/cl-json-patches.lispwuwei/src/config.lispwuwei/src/net-utils.lispwuwei/src/web.lispwuwei/src/ajax-render.lispwuwei/src/web2.lispwuwei/src/wu.lispwuwei/src/debug-utils.lispwuwei/src/session.lispwuwei/src/error.lispwuwei/src/upload.lispwuwei/src/async.lispwuwei/src/autocomplete.lispwuwei/src/dom-objects.lispwuwei/src/eval-server.lispwuwei/src/oauth2.lispwuwei/src/heroku.lispwuwei/src/htmlgen-patch.lisppackage.lisp (file).
src (module).
wuwei/src/cl-json-patches.lisphtmlgen-patch.lisp (file).
src (module).
wuwei/src/config.lispcl-json-patches.lisp (file).
src (module).
*developer-mode* (special variable).
*system-name* (special variable).
system-name (function).
*bug-report-url* (special variable).
*default-responder-timeout* (special variable).
*session-secret* (special variable).
wuwei/src/net-utils.lispconfig.lisp (file).
src (module).
get-url (function).
get-url-with-backoff (function).
wget-url (function).
wuwei/src/web.lispnet-utils.lisp (file).
src (module).
*public-directory* (special variable).
br (macro).
css-include (function).
css-includes (function).
html-list (macro).
html-princ (macro).
html-string (macro).
html-to-stream (macro).
image-tag (function).
image-url (function).
javascript-include (function).
javascript-includes (function).
link-to (function).
locate-public-directory (function).
nbsp (macro).
public-url (function).
radio-buttons (macro).
with-http-response-and-body (macro).
break-lines (function).
camel-case (function).
coerce-url (function).
labelify (function).
maybe-to-string (macro).
nl (macro).
p (macro).
wuwei/src/ajax-render.lispweb.lisp (file).
src (module).
*ajax-request* (special variable).
*file-field-name* (special variable).
*within-render-update* (special variable).
ajax-continuation (macro).
button-to-function (function).
button-to-remote (function).
checkbox-to-function (function).
checkbox-to-remote (function).
clean-js-string (function).
html-escape-string (function).
link-to-function (function).
link-to-remote (function).
publish-ajax-func (macro).
publish-ajax-update (macro).
radio-to-remote (function).
remote-function (function).
render-scripts (macro).
render-update (macro).
uploader (function).
*ajax-counter* (special variable).
*multipart-request* (special variable).
*render-debugging* (special variable).
*render-update-scripts* (special variable).
*responder-timeouts* (special variable).
*uploader-html* (special variable).
ajax-timeout (function).
clean-upload-js-string (function).
define-render-element-operation (macro).
define-render-update (macro).
do-responder-timeouts (function).
escape-single-quotes (function).
goto-url-function (function).
json-options (function).
json-options-transform (function).
multipart? (macro).
publish-temporarily (function).
render-debug (macro).
render-script (macro).
render-script-later (function).
render-update-scripts (function).
set-responder-timeout (function).
smart-string (function).
string-upcase? (function).
unpublish-path (function).
with-render-update (macro).
wuwei/src/web2.lispajax-render.lisp (file).
src (module).
select-field (function).
wuwei/src/wu.lispweb2.lisp (file).
src (module).
wu-continuation (macro).
wu-conversation (macro).
wu-publish (macro).
wu-conversation-1 (macro).
wuwei/src/debug-utils.lispwu.lisp (file).
src (module).
*stack-frame-limit* (special variable).
dump-stack (function).
get-frames-list (function).
logging-errors (macro).
stack-trace (function).
without-unwinding-restart (macro).
wuwei/src/session.lispdebug-utils.lisp (file).
src (module).
*aserve-request* (special variable).
cookie-value (function).
def-session-variable (macro).
delete-session (function).
initialize-instance (method).
initialize-instance (method).
new-session-hook (function).
print-object (method).
with-session (macro).
with-session-response (macro).
*session* (special variable).
*session-stores* (special variable).
add-session-variable (method).
add-session-variable (method).
add-session-variable (method).
add-session-variable (method).
add-session-variable (method).
add-session-variable (method).
all-session-variable-symbols (function).
all-session-variable-values (function).
all-session-variables (function).
cookie-session-store (class).
find-or-make-session-store (function).
gensym-session-id (function).
get-session-id (method).
hmac-sha1-string (function).
in-memory-session-store (class).
logout (function).
read-session-variable-value (method).
recompute-secret (method).
reset-session-store (method).
reset-session-stores (function).
save-session-variables (function).
serialized-session-store (class).
session-delete-session (method).
session-delete-session (method).
session-save-session-variables (method).
session-save-session-variables (method).
session-state-cookie-value (method).
session-store (class).
session-values (method).
session-values (method).
session-variable (class).
session-variable-initform (reader method).
session-variable-symbol (reader method).
session-variable-symbols (method).
session-variable-value (method).
session-variables (reader method).
set-cookie-session-cookie (method).
signed-value (function).
string-signature (function).
verify-signed-value (function).
with-session-variables (macro).
write-session-variable-value (method).
wuwei/src/error.lispsession.lisp (file).
src (module).
clear-error (function).
error-box (function).
render-error (function).
with-ajax-error-handler (macro).
with-html-error-handling (macro).
with-html-safe-error-handling (macro).
with-json-error-handling (macro).
*ajax-error-box?* (special variable).
*logging* (special variable).
*logging-stream* (special variable).
compose-error-message (function).
create-block-for-error (function).
html-report-error (function).
json-report-error (function).
log-message (function).
report-bug-button (function).
system-info (function).
wuwei/src/upload.lisperror.lisp (file).
src (module).
parse-upload-form (function).
*buffer-size* (special variable).
slurp-part (function).
wuwei/src/async.lispupload.lisp (file).
src (module).
async (macro).
wuwei/src/autocomplete.lispasync.lisp (file).
src (module).
auto-complete-field (function).
in-place-field (function).
in-place-setf-field (macro).
wuwei/src/dom-objects.lispautocomplete.lisp (file).
src (module).
current-page (reader method).
(setf current-page) (writer method).
display-base (method).
display-list (generic function).
element-named (function).
element-render (generic function).
element-update (method).
element-update (method).
flash-box (class).
flash-message (function).
html-element (class).
html-element-dom-id (reader method).
initialize-instance (method).
paging-mixin (class).
render-paging-controls (method).
total-size (generic function).
*dom-ht* (special variable).
*dom-id-counter* (special variable).
*flash-messages* (special variable).
gen-dom-id (function).
html-element-parent (reader method).
list-paging-mixin (class).
total-pages (method).
wuwei/src/eval-server.lispdom-objects.lisp (file).
src (module).
eval-page (function).
eval-server (function).
session-debug-page (function).
wuwei/src/oauth2.lispeval-server.lisp (file).
src (module).
*access-token* (special variable).
*oauth-auth-endpoint* (special variable).
*oauth-token-endpoint* (special variable).
*oauth2-callback* (special variable).
*oauth2-client-id* (special variable).
*oauth2-client-secret* (special variable).
*oauth2-scopes* (special variable).
*refresh-token* (special variable).
access-protected-resource (function).
access-protected-resource-with-error (function).
coerce-drakma-to-string (function).
get-access-token (function).
get-auth-code-uri (function).
wuwei/src/heroku.lispoauth2.lisp (file).
src (module).
heroku-install-wupub-files (function).
wuwei-initialize-application (function).
Packages are listed by definition order.
wuweiwu
closstar.
common-lisp.
lisp-unit.
mt.
net.aserve.
net.html.generator.
*ajax-request* (special variable).
*aserve-request* (special variable).
*developer-mode* (special variable).
*file-field-name* (special variable).
*public-directory* (special variable).
*system-name* (special variable).
*within-render-update* (special variable).
ajax-continuation (macro).
async (macro).
auto-complete-field (function).
br (macro).
button-to-function (function).
button-to-remote (function).
checkbox-to-function (function).
checkbox-to-remote (function).
clean-js-string (function).
clear-error (function).
cookie-value (function).
css-include (function).
css-includes (function).
current-page (generic reader).
(setf current-page) (generic writer).
def-session-variable (macro).
delete-session (function).
display-base (generic function).
display-list (generic function).
element-named (function).
element-render (generic function).
element-update (generic function).
error-box (function).
flash-box (class).
flash-message (function).
heroku-install-wupub-files (function).
html-element (class).
html-element-dom-id (generic reader).
html-escape-string (function).
html-list (macro).
html-princ (macro).
html-string (macro).
html-to-stream (macro).
image-tag (function).
image-url (function).
in-place-field (function).
in-place-setf-field (macro).
javascript-include (function).
javascript-includes (function).
link-to (function).
link-to-function (function).
link-to-remote (function).
locate-public-directory (function).
nbsp (macro).
new-session-hook (function).
paging-mixin (class).
parse-upload-form (function).
public-url (function).
publish-ajax-func (macro).
publish-ajax-update (macro).
radio-buttons (macro).
radio-to-remote (function).
remote-function (function).
render-error (function).
render-paging-controls (generic function).
render-scripts (macro).
render-update (macro).
select-field (function).
system-name (function).
total-size (generic function).
uploader (function).
with-ajax-error-handler (macro).
with-html-error-handling (macro).
with-html-safe-error-handling (macro).
with-http-response-and-body (macro).
with-json-error-handling (macro).
with-session (macro).
with-session-response (macro).
wu-continuation (macro).
wu-conversation (macro).
wu-publish (macro).
wuwei-initialize-application (function).
*access-token* (special variable).
*ajax-counter* (special variable).
*ajax-error-box?* (special variable).
*buffer-size* (special variable).
*bug-report-url* (special variable).
*default-responder-timeout* (special variable).
*dom-ht* (special variable).
*dom-id-counter* (special variable).
*flash-messages* (special variable).
*logging* (special variable).
*logging-stream* (special variable).
*multipart-request* (special variable).
*oauth-auth-endpoint* (special variable).
*oauth-token-endpoint* (special variable).
*oauth2-callback* (special variable).
*oauth2-client-id* (special variable).
*oauth2-client-secret* (special variable).
*oauth2-scopes* (special variable).
*refresh-token* (special variable).
*render-debugging* (special variable).
*render-update-scripts* (special variable).
*responder-timeouts* (special variable).
*session* (special variable).
*session-secret* (special variable).
*session-stores* (special variable).
*stack-frame-limit* (special variable).
*uploader-html* (special variable).
access-protected-resource (function).
access-protected-resource-with-error (function).
add-session-variable (generic function).
ajax-timeout (function).
all-session-variable-symbols (function).
all-session-variable-values (function).
all-session-variables (function).
break-lines (function).
camel-case (function).
clean-upload-js-string (function).
coerce-drakma-to-string (function).
coerce-url (function).
compose-error-message (function).
cookie-session-store (class).
create-block-for-error (function).
define-render-element-operation (macro).
define-render-update (macro).
do-responder-timeouts (function).
dump-stack (function).
escape-single-quotes (function).
eval-page (function).
eval-server (function).
find-or-make-session-store (function).
gen-dom-id (function).
gensym-session-id (function).
get-access-token (function).
get-auth-code-uri (function).
get-frames-list (function).
get-session-id (generic function).
get-url (function).
get-url-with-backoff (function).
goto-url-function (function).
hmac-sha1-string (function).
html-element-parent (generic reader).
html-report-error (function).
in-memory-session-store (class).
json-options (function).
json-options-transform (function).
json-report-error (function).
labelify (function).
list-paging-mixin (class).
log-message (function).
logging-errors (macro).
logout (function).
maybe-to-string (macro).
multipart? (macro).
nl (macro).
p (macro).
publish-temporarily (function).
read-session-variable-value (generic function).
recompute-secret (generic function).
render-debug (macro).
render-script (macro).
render-script-later (function).
render-update-scripts (function).
report-bug-button (function).
reset-session-store (generic function).
reset-session-stores (function).
save-session-variables (function).
serialized-session-store (class).
session-debug-page (function).
session-delete-session (generic function).
session-save-session-variables (generic function).
session-state-cookie-value (generic function).
session-store (class).
session-values (generic function).
session-variable (class).
session-variable-initform (generic reader).
session-variable-symbol (generic reader).
session-variable-symbols (generic function).
session-variable-value (generic function).
session-variables (generic reader).
set-cookie-session-cookie (generic function).
set-responder-timeout (function).
signed-value (function).
slurp-part (function).
smart-string (function).
stack-trace (function).
string-signature (function).
string-upcase? (function).
system-info (function).
total-pages (generic function).
unpublish-path (function).
verify-signed-value (function).
wget-url (function).
with-render-update (macro).
with-session-variables (macro).
without-unwinding-restart (macro).
write-session-variable-value (generic function).
wu-conversation-1 (macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Combines WITH-HTTP-RESPONSE and WITH-HTTP-BODY
Generate an HTML autocompletion field. Arguments below (all except completions-url are optional)
ID - the HTML ID of the element
NAME - the name of the field
VALUE - the current value of the field
TEXTAREA - T to use a multi-line textarea
OPTIONS - additional options to pass to the scriptaculous Ajax.Autocompleter object.
INPUT-OPTIONS - options to pass to the input or textarea tag (eg ’(("tokens" . ("," #Newline))))
COMPLETIONS-GENERATOR - a procedure that takes a prefix and returns a list of (id . name) pairs
EMBEDDED-HTML - T if strings can contain HTML markup
COMPLETIONS-URL - a URL that supplies the completions. Either this or COMPLETIONS-GENERATOR must be supplied, but not both
ON-SELECTED - a function that is called with the value, value string, and id of the selected option
UPDATE - the HTML ID of the autocompletion box
SCROLL? - If an integer, add scroll bar if more completions than this (default to 30)
SPINNER? - T to show a spinner while fetching completions
Generate a remote function (javascript Ajax call)
ex: (remote-function "/new-chunk" :params ‘(:user ,user :type (:raw ,(format nil "$(~A).value" selector-id))))
returns:
new Ajax.Request(’/new-chunk’, {"asynchronous":true,"parameters":{"user":"mt","type":$(selector23).value}}); return false;
:form If t, serialize the surrounding form; if a string serialise the form with that name; else use params
:params List of (:key1 value1 ...), ignored if :form is t
:confirm Ask user for confirmation first (value is the message)
:complete Javascript to execute when action completes
:success as :complete, but on success only
:failure as :complete, but on failure only
:before Javascript to run before the Ajax request
:after Javascript to run after the Ajax request
:spinner The ID of an elt, a spinner will be inserted after the elt before the Ajax request and removed when completed
:in-function?
:eval-scripts?
:stop-propagation? Stop propagation of events to parents. Forces :in-function? to be nil
:updater? Make an Ajax.Updater object rather than an Ajax.Request; value is dom id of item to be updated
:periodic? Make an Ajax.PeriodicalUpdater, updater? must be non-nil
Generate an HTML select field.
If URL is given, trigger off of the mouseup event
OPTIONS is a list of (value name [title]) tuples
paging-mixin)) ¶automatically generated reader method
paging-mixin)) ¶automatically generated writer method
paging-mixin)) ¶list-paging-mixin)) ¶This method should do the actual HTML rendering of the object
paging-mixin)) ¶html-element)) ¶html-element)) ¶automatically generated reader method
paging-mixin)) ¶list-paging-mixin)) ¶html-element) &rest ignore) ¶cookie-session-store) &rest ignore) ¶session-store) &rest ignore) ¶session-variable) stream) ¶| Initarg | Value |
|---|---|
:dom-id | flash |
cookie-session-store) var) ¶session-store) var) ¶(eql :sql)) var) ¶(eql :file)) var) ¶(eql :cookie)) var) ¶(eql :memory)) var) ¶cookie-session-store) req) ¶html-element)) ¶automatically generated reader method
session-variable) stream) ¶cookie-session-store)) ¶in-memory-session-store)) ¶cookie-session-store) session) ¶in-memory-session-store) session) ¶cookie-session-store) session) ¶in-memory-session-store) session) ¶cookie-session-store)) ¶cookie-session-store) session) ¶in-memory-session-store) session) ¶session-variable)) ¶automatically generated reader method
session-variable)) ¶automatically generated reader method
session-store)) ¶session-variable)) ¶session-store)) ¶automatically generated reader method
cookie-session-store) req) ¶paging-mixin)) ¶session-variable) stream) ¶(make-hash-table :test (function eq))
common-lisp.
:list
common-lisp.
(find-package :wuwei)
This slot is read-only.
common-lisp.
:symbol
This slot is read-only.
:reader
:writer
:store
:initform
This slot is read-only.
| Jump to: | (
A B C D E F G H I J L M N P R S T U V W |
|---|
| Jump to: | (
A B C D E F G H I J L M N P R S T U V W |
|---|
| Jump to: | *
C D I L P R S V W |
|---|
| Jump to: | *
C D I L P R S V W |
|---|
| Jump to: | A C D E F H I L M N O P S U W |
|---|
| Jump to: | A C D E F H I L M N O P S U W |
|---|