The ucw Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The ucw Reference Manual

This is the ucw Reference Manual, version 0.9, generated automatically by Declt version 3.0 "Montgomery Scott" on Wed Mar 25 19:26:17 2020 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

-*- outline -*-

This directory contains UnCommon Web (UCW), a Common Lisp web application
platform.

* Getting Started

Well, there's a shortcut nowadays.  Marco Baringer made a UCW boxset
with all the dependencies boxed up and ready to fire.

wget http://common-lisp.net/project/ucw/ucw-boxset.tar.gz
tar -zxf ucw-boxset.tar.gz
cd ucw-boxset
YOURLISPHERE (-)-load start.lisp

This will start UCW with the built in httpd server backend. But if you
want to get the dependencies seperately or want a different initial setup,
then read on!

Assuming that every dependency is set up correctly then evaluating

(load (merge-pathnames "etc/start.lisp"
                       (asdf:component-pathname (asdf:find-system :ucw))))

should start up the examples at http://localhost:8080/

** Dependencies

UCW depends an a number of external libraries:

    * arnesi - an all purpose lisp toolkit
    * yaclml - yet another common lisp markup language
    * parenscript - javascript in common-lisp
    * iterate - a lispy loop
    * rfc2388 - implements multipart/form specification
    * rfc2109 - implements cookie specification
    * trivial-garbage - portable weak hashtables and pointers
    * bordeaux-threads - portable threads
    * split-sequence - splits sequences
    * slime - Superior Lisp Interaction Mode for Emacs
    * cl-ppcre - regular expressions lib
    * cl-l10n - l10n and i18n lib
    * trivial-sockets - handles stream sockets for undemanding network  
      applications 
    * net.uri or PURI - parses URI's according to the RFC 2396
      specification 
    * cl-fad - a portable pathname library based on code from PCL
    * net-telent-date - an RFC822-compliand date parser and printer
    * cl-launch - invokes lisp code from the command line
    * detachtty - a screen-like detachment tool to be able to detach
      and reattach the lisp server from and to a console 
    * a server backend - be it mod_lisp (apache 1 or 2), araneida,
      allegroserve, portable aserve or the built in httpd server 
    * asdf - a package loader facility

    
*** arnesi

Arnesi is a Common Lisp utility suite. It contains various "bits 'n
pieces" of code which were useful while developing other code. It can
be found on http://common-lisp.net/project/bese/arnesi.html. 

You will need the latest version:

darcs get http://common-lisp.net/project/bese/repos/arnesi_dev/
    
Daily snapshots are available at
http://common-lisp.net/project/bese/tarballs/arnesi_dev-latest.tar.gz 


*** yaclml

yaclml is a collection of macros and utilities for generating XML/HTML
like markup from lisp code. It can be found on
http://common-lisp.net/project/bese/yaclml.html. 

You will need the latest version:

darcs get http://common-lisp.net/project/bese/repos/yaclml/
    
Daily snapshots are available at:
http://common-lisp.net/project/bese/tarballs/yaclml-latest.tar.gz 


*** parenscript - ucw version

Parenscript is a javascript compiler. You will need to get the latest
development version: 

darcs get http://common-lisp.net/project/ucw/repos/parenscript/
    
Daily snapshots are available at:
http://common-lisp.net/project/ucw/tarballs/parenscript-latest.tar.gz 


*** iterate

Iterate is an iteration construct for Common Lisp. It can be found on
http://common-lisp.net/project/iterate/

Download link:
http://common-lisp.net/project/iterate/releases/iterate-current.tar.gz 


*** rfc2388 - ucw version

Rfc2388 is a lisp implemantation of RFC 2388, which is used to process
form data posted with HTTP POST method using enctype
"multipart/form-data". 

UCW uses its own fork of rfc2388. You can get the latest code from the
darcs repository located at
http://common-lisp.net/project/ucw/repos/rfc2388: 

darcs get http://common-lisp.net/project/ucw/repos/rfc2388/

Daily snapshots are available at
http://common-lisp.net/project/ucw/tarballs/rfc2388-latest.tar.gz 


*** rfc2109 - ucw version

Rfc2109 is the lisp implementation of the cookie protocol. You can get
it at: http://common-lisp.net/project/rfc2109/: 

darcs get http://common-lisp.net/project/rfc2109/rfc2109
    
Daily snapshots are available at
http://www.common-lisp.net/project/rfc2109/release/rfc2109-latest.tar.gz 


*** split-sequence

splits sequences

info: http://www.cliki.net/SPLIT-SEQUENCE

download: http://ww.telent.net/cclan/split-sequence.tar.gz (you might
have to select a mirror first) 

If said link is dead, go to http://ww.telent.net/cclan-choose-mirror
to delete your CCLAN-SITE cookie and choose another mirror. At least
some of them are definitely working. 


*** SLIME

The Superior Lisp Interaction Mode for Emacs.

Download and install the latest CVS version of SLIME from
http://common-lisp.net/project/slime. 

To checkout from CVS you must first login to the repository:

export CVSROOT=:pserver:anonymous@common-lisp.net:/project/slime/cvsroot
cvs login
    
Enter anonymous when prompted for the password. You can then check out
the latest version with: 

cvs checkout slime
    
It's swank you want to add to your asd systems dir. To solve a current
problem with cl-launch you might want to overwrite your swank.asd file
with this one:

http://cl-debian.alioth.debian.org/repository/pvaneynd/slime/debian/swank.asd

Check the description on cl-launch to see why.


*** cl-l10n

Localization and internationalization library: http://common-lisp.net/project/cl-l10n/

Get the latest version with:
  darcs get http://www.common-lisp.net/project/cl-l10n/repos/cl-l10n


*** cl-ppcre

Edi Weitz's regular expression library: http://www.weitz.de/cl-ppcre/.

Download the latest version: http://weitz.de/files/cl-ppcre.tar.gz


*** trivial-sockets

Networking library to create small server applications. Download the
latest version from: http://ww.telent.net/cclan/trivial-sockets.tar.gz
(you might have to select a mirror first. 

If said link is dead, go to http://ww.telent.net/cclan-choose-mirror
to delete your CCLAN-SITE cookie and choose another mirror. At least
some of them are definitely working. 

Or use asdf install.


*** net.uri/PURI

All of the backends (except araneida) depend on Franz's open-source
net.uri library. It only works on Allegro but Kevin Rosenberg has made
a portable version called PURI. 

For allegro users, NET.URI can be downloaded from here (it may be
included in your version of acl):
http://opensource.franz.com/uri/index.html 

If you're not using allegro you'll need puri which can be downloaded
from http://puri.b9.com/download.html 


*** cl-fad

A portable pathname library based on code from Peter Seibels book
Practical Common Lisp. 

info: http://www.cliki.net/CL-FAD

download: http://weitz.de/files/cl-fad.tar.gz


*** net-telent-date

A library consisting mostly of the time parsing routines from CMUCL
that were removed from SBCL. Additionally it has a universal-time to
rfc822 date convertor.

info: http://www.cliki.net/net-telent-date

download: http://ww.telent.net/cclan/net-telent-date.tar.gz

*** cl-launch

A bash script to make your Lisp software easily invokable from the
shell command-line. 

info: http://www.cliki.net/cl-launch

download page: http://fare.tunes.org/files/cl-launch/

Download and add to your shell executable search path so ucw can find
it while loading. Cl-launch can either be called cl-launch or
cl-launch.sh, ucw will check for both. Also cl-launch depends on swank
behavior other than that of the current cvs code, at least under sbcl,
eg via swank-loader it looks for files under the load path, which is not
what you want if you made a symbolic link to another dir. The easiest way
to get around this problem is to overwrite your swank.asd file (in the
slime directory root), with this one:

http://cl-debian.alioth.debian.org/repository/pvaneynd/slime/debian/swank.asd 

If you are a Debian user and you got slime/swank through apt-get, you
already have this version on your harddisk/pendrive.

The downside might be that swank won't work anymore as it should,
although i haven't heard anyone about this yet. Another approach is to
copy your swank*.fasls from the slime directory to the relevant shadow
directory under ~/.cache/... 

Check this thread for more info:
http://common-lisp.net/pipermail/slime-devel/2006-March/004664.html

Yes, ucw is bleeding edge ;)


*** detachtty - ucw version

A screen-like detachment tool to be able to detach and re-attach the
lisp server from and to a console. Ucw uses a custom detachtty
version, e.g. detachtty-9 plus a patch by Kevin Rosenberg. It accepts
an eval argument when invoking a lisp, with obvious benefits. Get it
through Darcs: 

darcs get http://common-lisp.net/project/bese/repos/detachtty/

Go to the directory root and compile and install:

make
make install
    

** the backend

choose one of mod_lisp/mod_lisp2, araneida, aserve/paserve or the
built-in httpd server


*** mod_lisp/mod_lisp2 for apache

You can choose between apache 1 and 2. First of course you have to
have a Apache web server up and runnnig; then you have to add the
mod-lisp module by Marc Battyani which you find at
http://www.fractalconcept.com/asp/html/mod_lisp.html 

First download the mod_lisp c file. Watch out, don't follow the logic
of the website. Except for the windows version the info is outdated
concerning the apache 1 version and info about apache 2 is
non-existent. Go to subversion from the download page or click the
links below: 

    * apache 1 .c file - mod_lisp.c
    * apache 2 .c file - mod_lisp2.c
   
use the command:

apxs -i -c mod_lisp.c
    
or

apxs2 -i -c mod_lisp2.c
    
for respectively apache 1 or 2. This will install the module in the
appropriate apache directory. Then add the following lines to
'httpd.conf' in your apache configuration directory for both apache 1
and 2. Just be sure to change mod_lisp.so to mod_lisp2.so for apache
2:

# This goes near the other LoadModlue directives
    
LoadModule lisp_module modules/mod_lisp.so
    
LispServer 127.0.0.1 3001 ucw
    

               SetHandler lisp-handler

    
This means that ucw INTERNALLY talks to apache on port 3001 at the
internet address 127.0.0.1 (so in this case your localhost). The
locationmatch part redirects all traffic from (in this case) 127.0.0.1
with prefix "/path/" and files ending on .ucw to ucw. So
http://127.0.0.1/path/something.ucw as well as
http://127.0.0.1/path/anotherpath/somethingelse.ucw will be
redirected, but not http://127.0.0.1/somethingfaulty.ucw or
http://127.0.0.1/path/somethingfaulty.html.


*** allegroserve or portableaserve

Should you want to use the aserve backend you will need to download
and install either the AllegroServe if you use acl or portableaserve
for any other. AllegroServe doesn't seem to have an asdf file, you're
going to have to load it manually or however AllegroServe handles it's
own files. Portableaserve does however.

AllegroServe can be downloaded from here (it may be included in your
version of acl): http://opensource.franz.com/aserve/

portableaserve is hosted on sourceforge: http://portableaserve.sf.net

portableaserve download: http://constantly.at/lisp/aserve.tar.gz

To use portableaserve you'll also need the Allegro Common Lisp
compatibility package (acl-compat). It's part of portableaserve and so
it's home is also the before-mentioned sourceforge site.

acl-compat download: http://constantly.at/lisp/acl-compat.tar.gz


*** araneida

Should you want to use the araneida backend you will need to download
araneida. Get the latest version just to be on the safe
side. Originally araneida was meant to live behind apache and it can
of course still be configured as such. Explaining this is beyond the
scope of this document but have a look at this site for more info.

info: http://www.cliki.net/Araneida}

download: http://common-lisp.net/project/araneida/release/araneida-latest.tar.gz

or use darcs, although the connection seems a bit slow:

darcs get http://verisons.telent.net/araneida/


*** httpd

Ucw's in-house server. It's a simple server bundled with ucw. Nice for
testing.


** Setting up ASDF

UCW, and all the libraries it depends on, use ASDF for loading and
compiling the code in the proper order. The first thing you must do is
make sure that ASDF can find the system definitions for ucw and all
the related libraries.

ASDF searches for system definition files by looking in the
directories in the list asdf:*central-registry*. To make a system
definition visible you can either push the name of the directory which
contains the .asd file onto the list asdf:*central-registry* or you
can create a symlink from the .asd file to a directory which is
already in the list asdf:*central-registry*. 

For example: on some linux installations the directory
/usr/share/common-lisp/systems is in the list asdf:*central-registry*,
by creating a symlink from a particular .asd file to
/usr/share/common-lisp/systems (ln -s /path/to/library/lib.asd
/usr/share/common-lisp/systems) we guarentee that (adsf:oos
'asdf:load-op :lib) will Just Work(TM).


** Testing UCW

When you have set up all your dependencies correctly, you can test
ucw by first creating either /etc/ucw/applications.d or
/path/to/home/.ucw/applications.d, firing
up your favorite distribution and type:

(load "/path/to/ucw/etc/start.lisp")

If all went well, you have started ucw with the httpd backend. Surf to
\link{\href{http://127.0.0.1:8080}\text{http://127.0.0.1:8080}} and
again if all went well you should see the example page. That's it!
Start hacking!!

To run ucw detached use the ucwctl script under /path/to/ucw/bin/
For an explanation of it's configuration check the ucw-intro html under
/docs/ucw-intro.


* Documentation

Check the docs section for various introductions, tutorials, quickstarts and
code examples. The API documentation is, as much as possible, contained in
the docstrings of the various classes, methods, and packages which make
up UCW itself. Using a good inspector (SLIME's inspector for example)
you should be able to easily navigate and browse the API.

* Developing UCW

Eventually (probably too soon) you'll discover a bug or a missing
feature in UCW and want to fix it. The first thing to do is to send an
email to bese-devel@common-lisp.net and make sure it's a real bug or
missing feature (and not a user or documentation error).

If you do have a bug fix or feature improvement you'd like to submit
there are two ways to go about sending the patch: if the patch is
relativly small than just send a plain old diff or a tar ball of the
arch changeset to the list. If it is bigger, send it to ucw_public
and eventually it will find it's way to ucw_dev. If the change is
bigger than bigger or requires multiple patches over time then branch
off of ucw_dev and publish your repository with your changes. 

** Reporting BUGS

The simplest thing you can is just send an email to
bese-devel@common-lisp.net. We keep a collection of all the known bugs
and issues as text files in the directory docs/issues.

*** Using darcs

**** Creating a changeset

# darcs send

or, if you don't have sendmail properly set up;

# darcs send -o CHANGESET

Then just mail the file CHANGESET to bese-devel@common-lisp.net

**** Branching from ucw--dev

You already have a branch. :)


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Next: , Previous: , Up: Systems   [Contents][Index]

2.1 ucw

Maintainer

Drew Crampsie <drewc@tech.coop>

Author

Marco Baringer <mb@bese.it>

License

BSD (sans advertising clause)

Description

UncommonWeb : Standard Components

Long Description

Containts a simple, standard component library.

Version

0.9

Dependencies
Source

ucw.asd (file)

Component

src (module)


Previous: , Up: Systems   [Contents][Index]

2.2 ucw-core

Author

Marco Baringer <mb@bese.it>

License

BSD (sans advertising clause)

Description

Core features of UnCommon Web

Long Description

Contains the base features essential for a useful Read Eval Render Loop (RERL).

Version

0.9

Dependencies
Source

ucw-core.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 ucw/src

Parent

ucw (system)

Location

src/

Component

ucw-standard (module)


Next: , Previous: , Up: Modules   [Contents][Index]

3.2 ucw/src/ucw-standard

Parent

src (module)

Location

src/ucw-standard/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.3 ucw/src/ucw-standard/application-mixins

Dependencies
Parent

ucw-standard (module)

Location

src/ucw-standard/application-mixins/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.4 ucw/src/ucw-standard/components

Dependency

standard-components.lisp (file)

Parent

ucw-standard (module)

Location

src/ucw-standard/components/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.5 ucw/src/ucw-standard/yaclml

Dependency

standard-tags.lisp (file)

Parent

ucw-standard (module)

Location

src/ucw-standard/yaclml/

Component

tal.lisp (file)


Next: , Previous: , Up: Modules   [Contents][Index]

3.6 ucw-core/src

Parent

ucw-core (system)

Location

src/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.7 ucw-core/src/backend

Dependencies
Parent

src (module)

Location

src/backend/

Component

accept-headers.lisp (file)


Next: , Previous: , Up: Modules   [Contents][Index]

3.8 ucw-core/src/rerl

Dependencies
Parent

src (module)

Location

src/rerl/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.9 ucw-core/src/rerl/standard-component

Dependencies
Parent

rerl (module)

Location

src/rerl/standard-component/

Components

Previous: , Up: Modules   [Contents][Index]

3.10 ucw-core/src/core-components

Dependency

rerl (module)

Parent

src (module)

Location

src/core-components/

Component

window.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 ucw.asd

Location

ucw.asd

Systems

ucw (system)

Packages

it.bese.ucw.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 ucw-core.asd

Location

ucw-core.asd

Systems

ucw-core (system)

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 ucw/src/ucw-standard/standard-package.lisp

Parent

ucw-standard (module)

Location

src/ucw-standard/standard-package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 ucw/src/ucw-standard/standard-action.lisp

Dependency

standard-package.lisp (file)

Parent

ucw-standard (module)

Location

src/ucw-standard/standard-action.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 ucw/src/ucw-standard/standard-dispatchers.lisp

Dependency

standard-package.lisp (file)

Parent

ucw-standard (module)

Location

src/ucw-standard/standard-dispatchers.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 ucw/src/ucw-standard/standard-tags.lisp

Dependency

standard-action.lisp (file)

Parent

ucw-standard (module)

Location

src/ucw-standard/standard-tags.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 ucw/src/ucw-standard/standard-components.lisp

Dependency

standard-tags.lisp (file)

Parent

ucw-standard (module)

Location

src/ucw-standard/standard-components.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 ucw/src/ucw-standard/file-serve.lisp

Dependency

standard-package.lisp (file)

Parent

ucw-standard (module)

Location

src/ucw-standard/file-serve.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 ucw/src/ucw-standard/application-mixins/cookie-session-application.lisp

Parent

application-mixins (module)

Location

src/ucw-standard/application-mixins/cookie-session-application.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 ucw/src/ucw-standard/application-mixins/secure-application.lisp

Parent

application-mixins (module)

Location

src/ucw-standard/application-mixins/secure-application.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 ucw/src/ucw-standard/application-mixins/static-roots-application.lisp

Parent

application-mixins (module)

Location

src/ucw-standard/application-mixins/static-roots-application.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 ucw/src/ucw-standard/application-mixins/tal-application.lisp

Parent

application-mixins (module)

Location

src/ucw-standard/application-mixins/tal-application.lisp

Exported Definitions

tal-application-mixin (class)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 ucw/src/ucw-standard/application-mixins/transactional-application.lisp

Parent

application-mixins (module)

Location

src/ucw-standard/application-mixins/transactional-application.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 ucw/src/ucw-standard/components/html-element.lisp

Parent

components (module)

Location

src/ucw-standard/components/html-element.lisp

Exported Definitions
Internal Definitions

*xml-id-counter* (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 ucw/src/ucw-standard/components/cached.lisp

Parent

components (module)

Location

src/ucw-standard/components/cached.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 ucw/src/ucw-standard/components/container.lisp

Dependency

html-element.lisp (file)

Parent

components (module)

Location

src/ucw-standard/components/container.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 ucw/src/ucw-standard/components/error.lisp

Parent

components (module)

Location

src/ucw-standard/components/error.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.18 ucw/src/ucw-standard/components/option-dialog.lisp

Parent

components (module)

Location

src/ucw-standard/components/option-dialog.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.19 ucw/src/ucw-standard/components/paged-list.lisp

Parent

components (module)

Location

src/ucw-standard/components/paged-list.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.20 ucw/src/ucw-standard/components/redirect.lisp

Parent

components (module)

Location

src/ucw-standard/components/redirect.lisp

Exported Definitions

render (method)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.21 ucw/src/ucw-standard/components/tal.lisp

Parent

components (module)

Location

src/ucw-standard/components/tal.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.22 ucw/src/ucw-standard/components/task.lisp

Parent

components (module)

Location

src/ucw-standard/components/task.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.23 ucw/src/ucw-standard/components/user-login.lisp

Parent

components (module)

Location

src/ucw-standard/components/user-login.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.24 ucw/src/ucw-standard/yaclml/tal.lisp

Parent

yaclml (module)

Location

src/ucw-standard/yaclml/tal.lisp

Exported Definitions

render-template (method)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.25 ucw-core/src/core-package.lisp

Parent

src (module)

Location

src/core-package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.26 ucw-core/src/helpers.lisp

Dependencies
Parent

src (module)

Location

src/helpers.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.27 ucw-core/src/loggers.lisp

Dependencies
Parent

src (module)

Location

src/loggers.lisp

Exported Definitions
Internal Definitions

defucwlogger (macro)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.28 ucw-core/src/vars.lisp

Dependency

core-package.lisp (file)

Parent

src (module)

Location

src/vars.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.29 ucw-core/src/control.lisp

Dependencies
Parent

src (module)

Location

src/control.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.30 ucw-core/src/backend/accept-headers.lisp

Parent

backend (module)

Location

src/backend/accept-headers.lisp

Internal Definitions

parse-accept-language-header (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.31 ucw-core/src/rerl/protocol.lisp

Parent

rerl (module)

Location

src/rerl/protocol.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.32 ucw-core/src/rerl/rerl-variables.lisp

Parent

rerl (module)

Location

src/rerl/rerl-variables.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.33 ucw-core/src/rerl/rerl-utils.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/rerl-utils.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.34 ucw-core/src/rerl/conditions.lisp

Dependency

protocol.lisp (file)

Parent

rerl (module)

Location

src/rerl/conditions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.35 ucw-core/src/rerl/backtracking.lisp

Dependency

basic-classes.lisp (file)

Parent

rerl (module)

Location

src/rerl/backtracking.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.36 ucw-core/src/rerl/request-loop-error.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/request-loop-error.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.37 ucw-core/src/rerl/basic-classes.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/basic-classes.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.38 ucw-core/src/rerl/basic-action.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/basic-action.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.39 ucw-core/src/rerl/basic-application.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/basic-application.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.40 ucw-core/src/rerl/standard-component/standard-component.lisp

Dependency

standard-component-class.lisp (file)

Parent

standard-component (module)

Location

src/rerl/standard-component/standard-component.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.41 ucw-core/src/rerl/standard-component/control-flow.lisp

Dependency

standard-component.lisp (file)

Parent

standard-component (module)

Location

src/rerl/standard-component/control-flow.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.42 ucw-core/src/rerl/standard-component/standard-component-class.lisp

Parent

standard-component (module)

Location

src/rerl/standard-component/standard-component-class.lisp

Exported Definitions

standard-component-class (class)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.43 ucw-core/src/rerl/standard-component/transactions.lisp

Dependency

standard-component.lisp (file)

Parent

standard-component (module)

Location

src/rerl/standard-component/transactions.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.44 ucw-core/src/rerl/basic-dispatchers.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/basic-dispatchers.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.45 ucw-core/src/rerl/standard-request-context.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/standard-request-context.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.46 ucw-core/src/rerl/standard-server.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/standard-server.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.47 ucw-core/src/rerl/basic-session.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/basic-session.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.48 ucw-core/src/rerl/standard-session-frame.lisp

Dependencies
Parent

rerl (module)

Location

src/rerl/standard-session-frame.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.49 ucw-core/src/core-components/window.lisp

Parent

core-components (module)

Location

src/core-components/window.lisp

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 it.bese.ucw.system

Source

ucw.asd

Nickname

ucw.system

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 ucw-tags

Source

standard-package.lisp (file)

Nickname

<ucw

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.3 ucw-user

Source

standard-package.lisp (file)

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.4 ucw-standard

Source

standard-package.lisp (file)

Nickname

ucw

Use List
Used By List

ucw-user

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.5 it.bese.ucw.loggers

Source

core-package.lisp (file)

Nickname

ucw-log

Use List
Used By List

it.bese.ucw.core

Exported Definitions
Internal Definitions

defucwlogger (macro)


Next: , Previous: , Up: Packages   [Contents][Index]

5.6 it.bese.ucw.core.generated

Source

core-package.lisp (file)


Previous: , Up: Packages   [Contents][Index]

5.7 it.bese.ucw.core

Source

core-package.lisp (file)

Nickname

ucw-core

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *context*

The current request-context object.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Special Variable: *current-component*

When rendering this is bound to the current component (the second argument passed to render).

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Special Variable: *debug-on-error*

The default, system wide, value for debug-on-error. Applications may override this.

Package

it.bese.ucw.core

Source

vars.lisp (file)

Special Variable: *default-action-class*

Default action class for MAKE-ACTION

Package

it.bese.ucw.core

Source

vars.lisp (file)

Special Variable: *default-application*

The application object to use when none is explicitly specified.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Special Variable: *default-server*

The server object to use when none is explicitly specified.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Special Variable: *dispatcher-registers*
Package

ucw-standard

Source

standard-dispatchers.lisp (file)

Special Variable: *dispatcher-url-suffix*
Package

ucw-standard

Source

standard-dispatchers.lisp (file)

Special Variable: *inspect-components*

When rendering, should we put links next to components that will bring up the inspector?

Package

it.bese.ucw.core

Source

vars.lisp (file)

Special Variable: *load-as-production-p*

When T, load the UCW lisp files so that it will be used in a production system.
This means that debug-only blocks are skipped and various variables are initialized accordingly.

Package

it.bese.ucw.system

Source

ucw-core.asd

Special Variable: *request-content-length-limit*

While uploading a file the size of the request may go higher then this in which case UCW signals an error. See also the REQUEST-CONTENT-LENGTH-LIMIT slot of BASIC-BACKEND.

Package

it.bese.ucw.core

Source

vars.lisp (file)

Special Variable: *response*
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Special Variable: *source-component*
Package

ucw-standard

Source

standard-action.lisp (file)

Special Variable: *ucw-applications*

Each element of this list is evaluated and should return an application instance. (A CLOS object instance evaluates to itself, so you are free to provide either app instances or expressions evaluating to app instances.)

Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-applications-directory*
Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-backend-host*
Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-backend-port*
Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-backend-type*
Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-compile-time-log-level*

UCW logger messages below this level will not be compiled into the code, so they will have no performance penalty.

Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-log-level*

This is the default runtime log level for the UCW loggers.

Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-log-root-directory*
Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-server-class*
Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: *ucw-swank-port*
Package

it.bese.ucw.system

Source

ucw-core.asd

Special Variable: *ucw-systems*

The asdf systems listed here will be loaded as part of the configuration process.

Package

it.bese.ucw.system

Source

vars.lisp (file)

Special Variable: +action-compound-name-delimiter+
Package

it.bese.ucw.core

Source

standard-action.lisp (file)

Special Variable: +action-parameter-name+
Package

it.bese.ucw.core

Source

rerl-variables.lisp (file)

Special Variable: +frame-parameter-name+
Package

it.bese.ucw.core

Source

rerl-variables.lisp (file)

Special Variable: +session-parameter-name+
Package

it.bese.ucw.core

Source

rerl-variables.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Symbol macros

Symbol Macro: +http-accepted+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"202 accepted"

Symbol Macro: +http-authorization-required+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"401 authorization required"

Symbol Macro: +http-bad-gateway+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"502 bad gateway"

Symbol Macro: +http-bad-request+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"400 bad request"

Symbol Macro: +http-conflict+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"409 conflict"

Symbol Macro: +http-continue+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"100 continue"

Symbol Macro: +http-created+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"201 created"

Symbol Macro: +http-expectation-failed+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"417 expectation failed"

Symbol Macro: +http-failed-dependency+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"424 failed dependency"

Symbol Macro: +http-forbidden+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"403 forbidden"

Symbol Macro: +http-gateway-time-out+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"504 gateway time-out"

Symbol Macro: +http-gone+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"410 gone"

Symbol Macro: +http-internal-server-error+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"500 internal server error"

Symbol Macro: +http-length-required+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"411 length required"

Symbol Macro: +http-method-not-allowed+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"405 method not allowed"

Symbol Macro: +http-moved-permanently+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"301 moved permanently"

Symbol Macro: +http-moved-temporarily+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"302 moved temporarily"

Symbol Macro: +http-multi-status+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"207 multi-status"

Symbol Macro: +http-multiple-choices+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"300 multiple choices"

Symbol Macro: +http-no-content+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"204 no content"

Symbol Macro: +http-non-authoritative-information+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"203 non-authoritative information"

Symbol Macro: +http-not-acceptable+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"406 not acceptable"

Symbol Macro: +http-not-found+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"404 not found"

Symbol Macro: +http-not-implemented+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"501 not implemented"

Symbol Macro: +http-not-modified+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"304 not modified"

Symbol Macro: +http-ok+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"200 ok"

Symbol Macro: +http-partial-content+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"206 partial content"

Symbol Macro: +http-payment-required+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"402 payment required"

Symbol Macro: +http-precondition-failed+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"412 precondition failed"

Symbol Macro: +http-proxy-authentication-required+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"407 proxy authentication required"

Symbol Macro: +http-request-entity-too-large+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"413 request entity too large"

Symbol Macro: +http-request-time-out+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"408 request time-out"

Symbol Macro: +http-request-uri-too-large+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"414 request-uri too large"

Symbol Macro: +http-requested-range-not-satisfiable+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"416 requested range not satisfiable"

Symbol Macro: +http-reset-content+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"205 reset content"

Symbol Macro: +http-see-other+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"303 see other"

Symbol Macro: +http-service-unavailable+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"503 service unavailable"

Symbol Macro: +http-switching-protocols+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"101 switching protocols"

Symbol Macro: +http-temporary-redirect+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"307 temporary redirect"

Symbol Macro: +http-unsupported-media-type+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"415 unsupported media type"

Symbol Macro: +http-use-proxy+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"305 use proxy"

Symbol Macro: +http-version-not-supported+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"505 version not supported"

Symbol Macro: +xhtml-namespace-uri+
Package

it.bese.ucw.core

Source

vars.lisp (file)

Expansion

"http://www.w3.org/1999/xhtml"


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Macros

Macro: a &rest G0

A Simple <:A which does not require javascript.

Package

ucw-tags

Source

standard-tags.lisp (file)

Macro: defaction &rest ARGS-AND-BODY
Package

ucw-standard

Source

standard-action.lisp (file)

Macro: defcomponent NAME SUPERS SLOTS &rest OPTIONS

Macro for defining a component class.

This macro is used to create component classes and provides options for easily creating the methods which often accompany a component definition.

NAME, SUPERS and SLOTS as treated as per defclass. The following extra options are allowed:

(:ENTRY-POINT url (&key application class)) - Define an entry-point on the url URL which simply calls an instance of this component. Any request parameters passed to the entry-point are used to initialize the slots in the component. This option may appear multiple times.

(:DEFAULT-BACKTRACK function-designator) - Unless the slots already have a :backtrack option FUNCTION-DESIGNATOR is added. As with the ’regular’ :backtrack options if you pass T here it is assumed to mean #’IDENTITY.

(:RENDER (&optional COMPONENT) &body BODY) - Generate a render method specialized to COMPONENT. COMPONENT may be a symbol, in which case the method will be specialized on the componnet class. If COMPONNET is omited the component is bound to a variable with the same name as the class.

(:ACTION &optional NAME) - Generate a defmethod/cc form named NAME (which defaults to the name of the component) which simply CALL’s this component class passing all the arguments passed to the action as initargs.

Package

it.bese.ucw.core

Source

standard-component.lisp (file)

Macro: defentry-point URL (&key APPLICATION CLASS PRIORITY ACTION-OPTIONS WITH-CALL/CC) REQUEST-LAMBDA-LIST &body BODY

Define an entry point bound to the url URL of type CLASS.

URL must be a string which, when appended to APPLICATION’s url-prefix, specifies the complete url for this entry point. CLASS is a symbol naming the dispatcher class.

APPLICATION (evaluated) specifies the application object this entry point will be attached to. If NIL *default-application* will be used, otherwise it must be the name of an existing application.

REQUEST-LAMBDA-LIST is a request lambda list as per WITH-REQUEST-PARAMS.

The body of the entry-point is executed whenever the server recieves a request for the specified url. The body can contain calls to components but must not contain answer forms.

If the backend supports it then the url is
automatically registered with the backend, otherwise (mod_lisp) developers must manually configure the backend.

Package

it.bese.ucw.core

Source

basic-action.lisp (file)

Macro: form &rest G0

A Simple form which does not require javascript.

Package

ucw-tags

Source

standard-tags.lisp (file)

Macro: handle-raw-request (&key CONTENT-TYPE HTTP-STATUS-CODE CONTENT-DISPOSITION EXPIRES-IN-UT MAX-AGE-IN-SECS SEND-HEADERS CACHE WITH-NETWORK-STREAM ERROR-HANDLER WITH-YACLML-STREAM) &body BODY

This macro handles a raw request. Will set the http cache control headers according to the supplied arguments, send the headers, execute the BODY and close the request. WITH-NETWORK-STREAM will be bound to the network stream unless it’s nil. When WITH-YACLML-STREAM is not nil the body will run inside a with-yaclml-stream block and after it finished it will be properly encoded and written into the network stream. Additionally if it is a symbol then it will be bound with that name.

Package

it.bese.ucw.core

Source

basic-action.lisp (file)

Macro: input &rest G0
Package

ucw-tags

Source

standard-tags.lisp (file)

Macro: make-place FORM &optional COPYER

Create a new place around FORM.

Package

it.bese.ucw.core

Source

backtracking.lisp (file)

Macro: option &rest G0

Replacement for the standard OPTION tag, must be used with <UCW:SELECT tag. Unlike "regular" OPTION tags the :value attribute can be any lisp object (printable or not).

Package

ucw-tags

Source

standard-tags.lisp (file)

Macro: option-dialog (MESSAGE-SPEC &rest MESSAGE-ARGS) &body OPTIONS
Package

ucw-standard

Source

option-dialog.lisp (file)

Macro: register-action (&rest ARGS &key THROUGH-REDIRECT FRAME &allow-other-keys) &body BODY

Makes a new action and registers it in FRAME. For more details see make-action.

Package

it.bese.ucw.core

Source

standard-session-frame.lisp (file)

Macro: select &rest G0
Package

ucw-tags

Source

standard-tags.lisp (file)

Macro: submit &rest G0
Package

ucw-tags

Source

standard-tags.lisp (file)

Macro: textarea &rest G0
Package

ucw-tags

Source

standard-tags.lisp (file)

Macro: ucw.admin.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.admin.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.admin.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.admin.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.admin.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.admin.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.backend.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.backend.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.backend.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.backend.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.backend.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.backend.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.action.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.action.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.action.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.action.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.action.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.action.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.dojo.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.dojo.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.dojo.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.dojo.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.dojo.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.dojo.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.layers.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.layers.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.layers.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.layers.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.layers.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.layers.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.render.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.render.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.render.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.render.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.render.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.render.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.component.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.examples.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.examples.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.examples.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.examples.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.examples.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.examples.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.l10n.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.l10n.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.l10n.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.l10n.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.l10n.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.l10n.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.actions.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.actions.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.actions.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.actions.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.actions.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.actions.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.ajax.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.ajax.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.ajax.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.ajax.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.ajax.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.ajax.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.application.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.application.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.application.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.application.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.application.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.application.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.dispatcher.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.dispatcher.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.dispatcher.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.dispatcher.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.dispatcher.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.dispatcher.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.server.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.server.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.server.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.server.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.server.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.server.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session-frame.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session-frame.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session-frame.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session-frame.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session-frame.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session-frame.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.session.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.threads.debug MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.threads.dribble MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.threads.error MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.threads.fatal MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.threads.info MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.threads.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.rerl.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: ucw.warn MESSAGE-CONTROL &rest MESSAGE-ARGS
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Macro: with-dummy-context (&key RENDER ACTION APPLICATION) &body BODY
Package

it.bese.ucw.core

Source

standard-request-context.lisp (file)

Macro: with-lock-held-on-application APPLICATION &body BODY
Package

it.bese.ucw.core

Source

rerl-utils.lisp (file)

Macro: with-lock-held-on-session SESSION &body BODY
Package

it.bese.ucw.core

Source

rerl-utils.lisp (file)

Macro: with-request-params REQUEST-LAMBDA-LIST REQUEST &body BODY

Bind, according the REQUEST-LAMBDA-LIST the parameters in REQUEST and execute BODY.

REQUEST-LAMBDA-LIST is a list of the form:

( [ ( symbol string ) | symbol ]
[ default-value [ supplied-symbol-name ]? ]? )

If the request contains a param (no distinction between GET and POST params is made) named STRING (which defaults to the symbol name of SYMBOL) the variable SYMBOL is bound to the associated value (which is always a string) . If no parameter with that name was passed SYMBOL will be bound to DEFAULT-VALUE and the variable named SUPPLIED-SYMBOL-NAME will be bound to NIL.

NB: Parameter names are matched case insensitively.

Package

it.bese.ucw.core

Source

basic-action.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Functions

Function: abort-action &optional FAILURE-MESSAGE

Calling it without arguments means a graceful abort, while providing a failure message means there was an error. An ajax request will for example show the FAILURE-MESSAGE in one way or another when provided.

Package

it.bese.ucw.core

Source

basic-action.lisp (file)

Function: action-href ACTION &key COMPONENT FRAME

Given an action returns an URL (as a string) which will call the action lambda.

The COMPONENT parameter is passed directly to COMPUTE-URL, FRAME is passed to REGISTER-ACTION. ACTION may be a lambda
or an action object made with MAKE-ACTION factory methods.

Package

it.bese.ucw.core

Source

basic-action.lisp (file)

Function: add-query-parameter-to-uri URI NAME VALUE
Package

it.bese.ucw.core

Source

helpers.lisp (file)

Function: answer &optional VAL
Package

ucw-standard

Source

standard-action.lisp (file)

Function: append-path-to-uri URI PATH
Package

it.bese.ucw.core

Source

helpers.lisp (file)

Function: call THING &rest ARGS
Package

ucw-standard

Source

standard-action.lisp (file)

Function: call-as-request-handler SERVER REQUEST RESPONSE THUNK

Sets up a proper request-handling environment around THUNK

Package

it.bese.ucw.core

Source

standard-server.lisp (file)

Function: call-as-response-handler RESPONSE THUNK &key CONTENT-TYPE SEND-RESPONSE
Package

it.bese.ucw.core

Source

standard-server.lisp (file)

Function: call-as-window COMPONENT-TYPE &rest COMPONENT-INIT-ARGS
Package

ucw-standard

Source

standard-action.lisp (file)

Function: callback-lambda INSTANCE
Function: (setf callback-lambda) VALUE INSTANCE
Package

it.bese.ucw.core

Source

standard-session-frame.lisp (file)

Function: close-transaction &optional SESSION
Package

ucw-standard

Source

transactional-application.lisp (file)

Function: create-server &key BACKEND APPLICATIONS START-P SERVER-CLASS LOG-LEVEL LOG-TO-CONSOLE-P LOG-ROOT-DIRECTORY

Creates and returns a UCW server according to SERVER-CLASS, HOST and PORT. Affects *DEFAULT-SERVER*.

BACKEND is a list of (BACKEND-TYPE &rest INITARGS). BACKEND-TYPE may be :HTTPD, :MOD-LISP, an existing
backend, an existing UCW server backend or :DEFAULT in which case it attempts to return a sane default from the UCW backends loaded and available, or any other value for which a valid MAKE-BACKEND method has been defined. INITARGS will be passed, unmodified, to MAKE-BACKEND.

APPLICATIONS is a list of defined applications to be loaded into the server.

Logs are generated in verbosity defined by LOG-LEVEL and directed to LOG-ROOT-DIRECTORY if defined.

Package

it.bese.ucw.core

Source

control.lisp (file)

Function: external-format-for WHAT
Function: (setf external-format-for) VALUE WHAT
Package

it.bese.ucw.core

Source

vars.lisp (file)

Function: find-parent-typed COMPONENT TYPE &key OTHERWISE
Package

it.bese.ucw.core

Source

standard-component.lisp (file)

Function: get-session-value KEY &optional DEFAULT SESSION

Convenience wrapper around session.value.

SESSION defaults to the current session.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf get-session-value) (function)

Function: (setf get-session-value) VALUE KEY &optional SESSION

Convience wrapper around (setf session.value).

SESSION defaults to the current session.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

get-session-value (function)

Function: iterate-sessions-with-lock-held APP VISITOR
Package

it.bese.ucw.core

Source

basic-application.lisp (file)

Function: jump COMPONENT-TYPE &rest COMPONENT-INIT-ARGS
Package

ucw-standard

Source

standard-action.lisp (file)

Function: make-action LAMBDA &rest INITARGS &key CLASS &allow-other-keys

Makes a new unregistered action.

Package

it.bese.ucw.core

Source

basic-action.lisp (file)

Function: make-uri &rest INITARGS
Package

it.bese.ucw.core

Source

helpers.lisp (file)

Function: mark-session-expired SESSION
Package

it.bese.ucw.core

Source

basic-session.lisp (file)

Function: open-transaction &optional SESSION
Package

ucw-standard

Source

transactional-application.lisp (file)

Function: print-uri-to-string URI &optional ESCAPE
Package

it.bese.ucw.core

Source

helpers.lisp (file)

Function: print-uri-to-string-sans-query URI
Package

it.bese.ucw.core

Source

helpers.lisp (file)

Function: query-path-sans-prefix CONTEXT

Returns the part of the context’s request’s query-path after the context’s application’s url-prefix. NB: The returned value shares structure with the query-path. NB: We assume the proper application has already been placed in CONTEXT.

Package

it.bese.ucw.core

Source

standard-request-context.lisp (file)

Function: register-callback LAMBDA &rest ARGS &key FRAME ID &allow-other-keys

Makes a new callback and registers it in FRAME. For more details see make-callback.

Package

it.bese.ucw.core

Source

standard-session-frame.lisp (file)

Function: register-dispatcher APPLICATION DISPATCHER
Package

it.bese.ucw.core

Source

basic-application.lisp (file)

Function: send-standard-error-page &key CONDITION MESSAGE TITLE HTTP-STATUS-CODE
Package

it.bese.ucw.core

Source

request-loop-error.lisp (file)

Function: serve-file FILE-NAME &rest ARGS &key REQUEST RESPONSE LAST-MODIFIED CONTENT-TYPE CONTENT-DISPOSITION-FILENAME CONTENT-DISPOSITION-SIZE EXPIRES
Package

ucw-standard

Source

file-serve.lisp (file)

Function: serve-sequence SEQUENCE &key REQUEST RESPONSE LAST-MODIFIED CONTENT-TYPE CONTENT-DISPOSITION EXPIRES

Write SEQUENCE into the network stream and clean up the request. SEQUENCE may be a string or a byte vector. When it’s a string it will be encoded according to what the (encoding response) protocol answers.

Package

ucw-standard

Source

file-serve.lisp (file)

Function: serve-stream STREAM &key REQUEST RESPONSE LAST-MODIFIED CONTENT-TYPE CONTENT-LENGTH CONTENT-DISPOSITION CONTENT-DISPOSITION-FILENAME CONTENT-DISPOSITION-SIZE EXPIRES
Package

ucw-standard

Source

file-serve.lisp (file)

Function: session-authenticated-p &optional SESSION
Package

ucw-standard

Source

secure-application.lisp (file)

Function: session-user &optional SESSION
Package

ucw-standard

Source

secure-application.lisp (file)

Setf Expander

(setf session-user) (setf expander)

Setf Expander: (setf session-user) &optional SESSION
Package

ucw-standard

Source

secure-application.lisp (file)

Reader

session-user (function)

Function: ucw.log-level ()
Function: (setf ucw.log-level) LEVEL
Package

it.bese.ucw.loggers

Source

loggers.lisp (file)

Function: unique-dom-id &key PREFIX

Generates a unique DOM id

Package

ucw-standard

Source

html-element.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Generic functions

Generic Function: action-isolated-p OBJECT
Generic Function: (setf action-isolated-p) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: action-isolated-p (ACTION-WITH-ISOLATION-SUPPORT action-with-isolation-support)
Method: (setf action-isolated-p) NEW-VALUE (ACTION-WITH-ISOLATION-SUPPORT action-with-isolation-support)

Isolated actions are invalidated after the first call.

Source

basic-classes.lisp (file)

Generic Function: add-component CONTAINER COMPONENT &optional KEY
Package

ucw-standard

Methods
Method: add-component (CONTAINER container) (COMPONENT component) &optional KEY

Add component at the end of the component list.

Source

container.lisp (file)

Generic Function: answer-component CALLEE VALUE

Return control to CALLEE’s CALLER, continuing
with the value VALUE.

answer-component can be called by user code though it will generally be called through the UCW:ANSWER function.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: answer-component (TARGET standard-component) VALUE
Source

control-flow.lisp (file)

Generic Function: application-authorize-call APPLICATION USER FROM TO

Check user credentials to call TO by FROM in APPLICATION.

Package

ucw-standard

Source

secure-application.lisp (file)

Methods
Method: application-authorize-call (APP secure-application-mixin) USER FROM TO
Method: application-authorize-call (APP secure-application-mixin) USER FROM TO around
Method: application-authorize-call APP USER FROM TO
Generic Function: application-check-password APPLICATION USER PASSWORD

Validate PASSWORD against USER for APPLICATION.

Package

ucw-standard

Source

secure-application.lisp (file)

Methods
Method: application-check-password (APP application) USER PASSWORD
Generic Function: application-find-user APPLICATION USERNAME

Find USER by USERNAME for APPLICATION.

Package

ucw-standard

Source

secure-application.lisp (file)

Methods
Method: application-find-user (APP application) USERNAME
Generic Function: application.charset OBJECT
Generic Function: (setf application.charset) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: application.charset (BASIC-APPLICATION basic-application)
Method: (setf application.charset) NEW-VALUE (BASIC-APPLICATION basic-application)

Default charset for sent text/html documents.

Source

basic-classes.lisp (file)

Generic Function: application.dispatchers OBJECT
Generic Function: (setf application.dispatchers) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: application.dispatchers (BASIC-APPLICATION basic-application)
Method: (setf application.dispatchers) NEW-VALUE (BASIC-APPLICATION basic-application)

A list of request
dispatchers. The user supplied list of dispatchers is extended with other dispatchers that are required for UCW to function properly (action-dispatcher, a parenscript-dispatcher, etc). If you want full control over the active dispatchers use the (setf application.dispatchers) accessor or, if you want control over the order of the dispathcers, (slot-value instance ’dispatchers).

Source

basic-classes.lisp (file)

Method: (setf application.dispatchers) DISPATCHERS (APP basic-application) around
Source

basic-application.lisp (file)

Generic Function: application.online-users OBJECT
Generic Function: (setf application.online-users) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: application.online-users (USER-TRACK-APPLICATION-MIXIN user-track-application-mixin)

automatically generated reader method

Source

secure-application.lisp (file)

Method: (setf application.online-users) NEW-VALUE (USER-TRACK-APPLICATION-MIXIN user-track-application-mixin)

automatically generated writer method

Source

secure-application.lisp (file)

Generic Function: application.server OBJECT
Generic Function: (setf application.server) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: application.server (MINIMAL-APPLICATION minimal-application)

automatically generated reader method

Source

basic-classes.lisp (file)

Method: (setf application.server) NEW-VALUE (MINIMAL-APPLICATION minimal-application)

automatically generated writer method

Source

basic-classes.lisp (file)

Generic Function: application.static-roots OBJECT
Generic Function: (setf application.static-roots) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: application.static-roots (STATIC-ROOTS-APPLICATION-MIXIN static-roots-application-mixin)
Method: (setf application.static-roots) NEW-VALUE (STATIC-ROOTS-APPLICATION-MIXIN static-roots-application-mixin)

A list of (URL-subdir . pathname)
pairs to use when looking for static files. This follows standard CL pathname syntax i.e. you must include a trailing / in both the URL-subdir and pathname.

Source

static-roots-application.lisp (file)

Generic Function: application.url-prefix APPLICATION

Returns the url prefix (a string) for APPLICATION.

The URL prefix is that string which, when used as the prefix of an incoming http query path, identifies an application.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf application.url-prefix) (generic function)

Methods
Method: application.url-prefix (MINIMAL-APPLICATION minimal-application)

A string specifying the
start (prefix) of all the urls this app should handle.

This value is used by the standard-server to decide what app a particular request is aimed at and for generating links to actions within the app.

Source

basic-classes.lisp (file)

Generic Function: (setf application.url-prefix) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Reader

application.url-prefix (generic function)

Methods
Method: (setf application.url-prefix) NEW-VALUE (MINIMAL-APPLICATION minimal-application)

A string specifying the
start (prefix) of all the urls this app should handle.

This value is used by the standard-server to decide what app a particular request is aimed at and for generating links to actions within the app.

Source

basic-classes.lisp (file)

Generic Function: backtrack FRAME PLACE &optional VALUE
Package

it.bese.ucw.core

Source

backtracking.lisp (file)

Methods
Method: backtrack (FRAME session-frame) PLACE &optional VALUE
Generic Function: backtrack-slot FRAME OBJECT SLOT-NAME &optional COPYER
Package

it.bese.ucw.core

Source

backtracking.lisp (file)

Methods
Method: backtrack-slot (FRAME standard-session-frame) OBJECT SLOT-NAME &optional COPYER
Generic Function: call-action ACTION APPLICATION SESSION FRAME

This protocol is started when we are ready to call the action.
If the action was found to be valid then the default implementation simply funcalls the action wrapped in an error handler.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: call-action ACTION APPLICATION (SESSION transactional-session-mixin) (FRAME transactional-session-frame-mixin) around
Source

transactional-application.lisp (file)

Method: call-action (ACTION basic-action) APPLICATION (SESSION basic-session) PREVIOUS-FRAME before
Source

basic-action.lisp (file)

Method: call-action (ACTION action-with-isolation-support) APPLICATION SESSION FRAME
Source

basic-action.lisp (file)

Method: call-action (ACTION action) APPLICATION SESSION FRAME

The base method simply funcalls the action.

Source

basic-action.lisp (file)

Method: call-action (ACTION action) APPLICATION SESSION FRAME around

Install an error handler that redirects all errors to the HANDLE-TOPLEVEL-CONDITION protocol.

Source

basic-action.lisp (file)

Generic Function: call-callbacks ACTION FRAME REQUEST

Call all the callbacks in REQUEST for FRAME.

Methods defined on this generic function must be built up from using map-parameters (part of the backend protocol). Return nil iff there were no callbacks executed.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: call-callbacks (ACTION basic-action) FRAME REQUEST around
Source

basic-action.lisp (file)

Method: call-callbacks ACTION (FRAME standard-session-frame) (REQUEST request)

Execute all the callback lambda in CONTEXT’s request.

Simply goes through the request’s params and, for every param
which isn’t +action-parameter-name+, +frame-parameter-name+ or +session-parameter-name+, looks up and call the associated lambda in the current frame. Makes sure dependent callbacks are executed after their dependencies.

Source

standard-session-frame.lisp (file)

Generic Function: call-component FROM TO

Transfer control from the component CALLER, to
the component CALLEE.

CALLEE should replace CALLER in the user interface (by setting itself in CALLER’s place). CALLEE can return control to CALLER by calling answer-component.

call-component can be called by user code even though it will generally be called through the UCW:CALL function.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Method Combination

cc-standard (long method combination)

Methods
Method: call-component FROM (TO standard-component) before
Source

secure-application.lisp (file)

Method: call-component (FROM null) (TO standard-component) primary

Passes control to the TO when there is no current (FROM) component. This method is called in dispatchers, actions should always have a FROM component.

Source

control-flow.lisp (file)

Method: call-component (FROM standard-component) (TO standard-component) primary

Transfer control from FROM to the component TO.

This method grabs the current continuation (and so doesn’t return normally) passes it to TO and puts TO in FROM’s place (by modifying FROM’s component.place).

This method does not return normally but simply stops the execution of the current action and returns when TO answers.

Source

control-flow.lisp (file)

Generic Function: call-render ACTION APPLICATION SESSION FRAME
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: call-render (ACTION basic-action) APPLICATION SESSION FRAME
Source

basic-action.lisp (file)

Generic Function: cancel SELF
Package

ucw-standard

Source

user-login.lisp (file)

Method Combination

cc-standard (long method combination)

Methods
Method: cancel (SELF user-login) primary
Generic Function: child-components STANDARD-COMPONENT &key PREDICATE KEY

Return the children of a component.

Package

it.bese.ucw.core

Source

standard-component.lisp (file)

Methods
Method: child-components (C container) &key PREDICATE KEY
Source

container.lisp (file)

Method: child-components (COMPONENT standard-component) &key PREDICATE KEY

Find all children components of the given components.
This will only return children components that were declared on the class as a component and have components in those slots.

Generic Function: clear-container C
Package

ucw-standard

Methods
Method: clear-container (C container)
Source

container.lisp (file)

Generic Function: close-request REQUEST

This method is called when the server is done
with REQUEST. If any shared resources were grabbed during the request handling they should be freed.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: component-at CONTAINER INDEX
Generic Function: (setf component-at) COMPONENT CONTAINER INDEX &optional KEY
Package

ucw-standard

Methods
Method: component-at (CONTAINER container) (INDEX integer)

Returns the component object in CONTAINER associated at the given INDEX.

Source

container.lisp (file)

Method: (setf component-at) (COMPONENT component) (CONTAINER switching-container) INDEX &optional KEY after
Source

container.lisp (file)

Method: (setf component-at) (COMPONENT component) (CONTAINER container) (INDEX integer) &optional KEY

Associates KEY with COMPONENT in the container CONTAINER at the given index.
If KEY is not provided use the key-generator lambda. (setf (c 0 "optinal-key") x)

Source

container.lisp (file)

Generic Function: component-cache OBJECT
Generic Function: (setf component-cache) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: component-cache (CACHE-COMPONENT-MIXIN cache-component-mixin)
Method: (setf component-cache) NEW-VALUE (CACHE-COMPONENT-MIXIN cache-component-mixin)

A string holding the output to use
for this component. This string will be written directly to the html stream.

Source

cached.lisp (file)

Generic Function: component-cache-invalid-p COMPONENT

Returns T if COMPONENT’s cache is invalid.

Package

ucw-standard

Source

cached.lisp (file)

Methods
Method: component-cache-invalid-p (N num-hits-cache-component-mixin)
Method: component-cache-invalid-p (C timeout-cache-component-mixin)
Method: component-cache-invalid-p (C cache-component-mixin) around
Generic Function: component.calling-component OBJECT
Package

it.bese.ucw.core

Writer

(setf component.calling-component) (generic function)

Methods
Method: component.calling-component (STANDARD-COMPONENT standard-component)

The component which transfered control to this component.

When this component ANSWERs it returns control to the calling-component and modifes the associated place. Only in the case of top level components will this slot be NIL.

Source

standard-component.lisp (file)

Generic Function: (setf component.calling-component) CALLER COMPONENT
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

component.calling-component (generic function)

Methods
Method: (setf component.calling-component) NEW-VALUE (STANDARD-COMPONENT standard-component)

The component which transfered control to this component.

When this component ANSWERs it returns control to the calling-component and modifes the associated place. Only in the case of top level components will this slot be NIL.

Source

standard-component.lisp (file)

Generic Function: component.place OBJECT
Generic Function: (setf component.place) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: component.place (STANDARD-COMPONENT standard-component)
Method: (setf component.place) NEW-VALUE (STANDARD-COMPONENT standard-component)

The place (a PLACE object) which holds this component.

Only in the case of top level component will this slot be NIL.

Source

standard-component.lisp (file)

Generic Function: compute-url ACTION COMPONENT

Return a URL with the proper session, frame and action-id parameters.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: compute-url (ACTION action) (COMPONENT standard-component)

Walks up the component tree based at COMPONENT and calls UPDATE-URL on the components.

Source

standard-component.lisp (file)

Method: compute-url ACTION (APP application-with-session-handling-mixin) around

Appends the session and frame parameters UCW needs to find the session and the frame.

Source

basic-application.lisp (file)

Method: compute-url (ACTION action) (APP basic-application)

Creates the default url for APP which, when requested, will cause the action to be called.

The generated URL’s path will be the app’s url-prefix.

Source

basic-application.lisp (file)

Generic Function: container.contents OBJECT
Generic Function: (setf container.contents) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: container.contents (CONTAINER container)
Method: (setf container.contents) NEW-VALUE (CONTAINER container)

An alist of (key . component) holding the controlled components.

Source

container.lisp (file)

Generic Function: container.current-component CONTAINER
Generic Function: (setf container.current-component) VALUE CONTAINER
Package

ucw-standard

Methods
Method: container.current-component (CONTAINER switching-container)
Source

container.lisp (file)

Generic Function: container.current-component-key OBJECT
Generic Function: (setf container.current-component-key) VALUE CONTAINER
Package

ucw-standard

Methods
Method: container.current-component-key (SWITCHING-CONTAINER switching-container)

The key of the current component.

Source

container.lisp (file)

Method: (setf container.current-component-key) VALUE (CONTAINER switching-container)
Source

container.lisp (file)

Generic Function: container.key-generator OBJECT
Generic Function: (setf container.key-generator) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: container.key-generator (CONTAINER container)
Method: (setf container.key-generator) NEW-VALUE (CONTAINER container)

A lambda that generates the keys from a component when they are not specified

Source

container.lisp (file)

Generic Function: container.key-test OBJECT
Generic Function: (setf container.key-test) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: container.key-test (CONTAINER container)
Method: (setf container.key-test) NEW-VALUE (CONTAINER container)

Function used to compare two keys.

Source

container.lisp (file)

Generic Function: context.action OBJECT
Generic Function: (setf context.action) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: context.action (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated reader method

Source

basic-classes.lisp (file)

Method: (setf context.action) NEW-VALUE (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated writer method

Source

basic-classes.lisp (file)

Generic Function: context.application CONTEXT

Accessor for the application object in CONTEXT.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf context.application) (generic function)

Methods
Method: context.application (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated reader method

Source

basic-classes.lisp (file)

Generic Function: (setf context.application) APPLICATION CONTEXT
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

context.application (generic function)

Methods
Method: (setf context.application) NEW-VALUE (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated writer method

Source

basic-classes.lisp (file)

Generic Function: context.current-frame CONTEXT

Return the "current" (most recent) session-frame in CONTEXT’s session.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf context.current-frame) (generic function)

Methods
Method: context.current-frame (CONTEXT request-context)

Simply call session.current-frame on context’s session object.

Generic Function: (setf context.current-frame) VALUE CONTEXT
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

context.current-frame (generic function)

Methods
Method: (setf context.current-frame) VALUE (CONTEXT request-context)

Simply call (setf session.current-frame) on context’s session object.

Generic Function: context.request CONTEXT

Accessor for the request object in CONTEXT.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf context.request) (generic function)

Methods
Method: context.request (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated reader method

Source

basic-classes.lisp (file)

Generic Function: (setf context.request) REQUEST CONTEXT
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

context.request (generic function)

Methods
Method: (setf context.request) NEW-VALUE (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated writer method

Source

basic-classes.lisp (file)

Generic Function: context.response CONTEXT

Accessor for the response object in CONTEXT.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf context.response) (generic function)

Methods
Method: context.response (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated reader method

Source

basic-classes.lisp (file)

Generic Function: (setf context.response) RESPONSE CONTEXT
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

context.response (generic function)

Methods
Method: (setf context.response) NEW-VALUE (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated writer method

Source

basic-classes.lisp (file)

Generic Function: context.session CONTEXT

Accessor for the session object in CONTEXT.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf context.session) (generic function)

Methods
Method: context.session (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated reader method

Source

basic-classes.lisp (file)

Generic Function: (setf context.session) SESSION CONTEXT
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

context.session (generic function)

Methods
Method: (setf context.session) NEW-VALUE (STANDARD-REQUEST-CONTEXT standard-request-context)

automatically generated writer method

Source

basic-classes.lisp (file)

Method: (setf context.session) (SESSION basic-session) (CONTEXT cookie-session-request-context-mixin) after
Source

cookie-session-application.lisp (file)

Generic Function: context.window-component CONTEXT

Return the "current" (most recenct) window component in CONTEXT’s session.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf context.window-component) (generic function)

Methods
Method: context.window-component (CONTEXT request-context)
Source

standard-request-context.lisp (file)

Generic Function: (setf context.window-component) COMPONENT CONTEXT
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

context.window-component (generic function)

Generic Function: cookies REQUEST

Returns the cookies in this request in a sequence.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: debug-on-error APPLICATION

Returns T if APPLICATION should attempt to debug errors (instead of just returning an error page).

Package

it.bese.ucw.core

Source

vars.lisp (file)

Writer

(setf debug-on-error) (generic function)

Methods
Method: debug-on-error (APP basic-application) around
Source

basic-application.lisp (file)

Method: debug-on-error (MINIMAL-APPLICATION minimal-application)

automatically generated reader method

Source

basic-classes.lisp (file)

Method: debug-on-error APP

Method used when there is no current application or its debug-on-error slot is unbound.

Generic Function: (setf debug-on-error) VALUE APP
Package

it.bese.ucw.core

Source

vars.lisp (file)

Reader

debug-on-error (generic function)

Methods
Method: (setf debug-on-error) NEW-VALUE (MINIMAL-APPLICATION minimal-application)

automatically generated writer method

Source

basic-classes.lisp (file)

Method: (setf debug-on-error) VALUE (APP null)
Generic Function: delete-session APPLICATION SESSION

Remove the session SESSION from APPLICATION.

User code may not call this function directly, see MARK-SESSION-INVALID if you want to mark a session invalid.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: delete-session APPLICATION (SELF user-track-session-mixin) after
Source

secure-application.lisp (file)

Method: delete-session (APPLICATION application-with-session-handling-mixin) (SESSION session)
Source

basic-application.lisp (file)

Method: delete-session (APPLICATION minimal-application) (SESSION basic-session) around
Source

basic-application.lisp (file)

Method: delete-session APPLICATION SESSION around
Source

basic-application.lisp (file)

Generic Function: dispatch DISPATCHER APPLICATION CONTEXT

Entry point into a dispatcher. Must return T
if the context has been handled or NIL if it hasn’t.

No methods defined on this function may rebind *context*, nor change CONTEXT’s application. Only if the method returns T is it allowed to modify CONTEXT or APPLICATION, even in that case methods defined on this function must not modify CONTEXT’s application nor rebind *context*.

Package

it.bese.ucw.core

Source

basic-dispatchers.lisp (file)

Methods
Method: dispatch (DISPATCHER dispatcher) (APPLICATION basic-application) (CONTEXT standard-request-context)
Generic Function: encoding RESPONSE

Return a symbol representing the desired encoding when writing strings into the network stream.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: ensure-session APPLICATION CONTEXT &optional NEW-SESSION

Makes sure the context has a valid session,
set it to NEW-SESSION if there’s none. Returns the session.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: ensure-session (APP application-with-session-handling-mixin) (CONTEXT standard-request-context) &optional SESSION

If CONTEXT’s request specifies a session then put it in the context, otherwise create a new context.

Updates the session’s last-access time.

Source

basic-application.lisp (file)

Method: ensure-session APPLICATION CONTEXT &optional SESSION around
Source

basic-application.lisp (file)

Generic Function: exit-user SELF
Package

ucw-standard

Source

secure-application.lisp (file)

Method Combination

cc-standard (long method combination)

Methods
Method: exit-user (SELF standard-component) primary

Delete session and throw user away to entry point.

Generic Function: find-action-id CONTEXT

Same as find-session-id but looks for the action id.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: find-action-id (CONTEXT standard-request-context) around
Source

standard-action.lisp (file)

Method: find-action-id (CONTEXT standard-request-context)
Source

standard-request-context.lisp (file)

Generic Function: find-component C KEY
Generic Function: (setf find-component) COMPONENT CONTAINER KEY
Package

it.bese.ucw.core

Methods
Method: find-component (C container) KEY

Returns the component object in C associated with KEY.

Source

container.lisp (file)

Method: (setf find-component) (COMPONENT component) (CONTAINER container) KEY

Associates KEY with COMPONENT in the container CONTAINER.

Source

container.lisp (file)

Generic Function: find-session-id CONTEXT

Returns the client supplied session-id in CONTEXT.

Methods should inspect the context’s request object and return a string specifying the session-id. No guarantee on the validity (well-formedness or existence) of the returned session-id is made.

If no session-id is supplied NIL must be returned.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: find-session-id (CONTEXT cookie-session-request-context-mixin) around
Source

cookie-session-application.lisp (file)

Method: find-session-id (CONTEXT standard-request-context)

Returns the value of the GET or POST parameter named +session-parameter-name+

Source

standard-request-context.lisp (file)

Generic Function: frame.id SESSION-FRAME
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf frame.id) (generic function)

Methods
Method: frame.id (STANDARD-SESSION-FRAME standard-session-frame)

automatically generated reader method

Source

basic-classes.lisp (file)

Generic Function: (setf frame.id) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Reader

frame.id (generic function)

Methods
Method: (setf frame.id) NEW-VALUE (STANDARD-SESSION-FRAME standard-session-frame)

automatically generated writer method

Source

basic-classes.lisp (file)

Generic Function: frame.window-component SESSION-FRAME

Accessor for SESSION-FRAME’s window component.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf frame.window-component) (generic function)

Methods
Method: frame.window-component (STANDARD-SESSION-FRAME standard-session-frame)

The root component for this
frame. The standard-server calls render on this component when the frame is ready to be presented to the user.

Source

basic-classes.lisp (file)

Generic Function: (setf frame.window-component) COMPONENT SESSION-FRAME
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

frame.window-component (generic function)

Methods
Method: (setf frame.window-component) NEW-VALUE (STANDARD-SESSION-FRAME standard-session-frame)

The root component for this
frame. The standard-server calls render on this component when the frame is ready to be presented to the user.

Source

basic-classes.lisp (file)

Generic Function: get-header MESSAGE HEADER-NAME

Return the value of the header named HEADER-NAME.

HEADER-NAME must be a string and will be compared case sensitvly agaist the headers in the message.

Callers are not allowed to modify the value returned by GET-HEADER.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf get-header) (generic function)

Generic Function: (setf get-header) VALUE MESSAGE HEADER-NAME

Change the value of the header named
HEADER-NAME. Like in get-header HEADER-NAME must be a string.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Reader

get-header (generic function)

Generic Function: get-parameter REQUEST PARAMETER-NAME

Returns the query value, a string or a list of
strings, associated with the name PARAMETER-NAME. As with GET-HEADER callers are not allowed to modify the value retruned by this function.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: handle-action ACTION APPLICATION SESSION FRAME

Determines how a UCW action is processed.

This method is called when a valid session was identified or created and
an action needs to be executed in that session (this includes entry points, too).

This method can be a central point for user code to hook into, for app specific purposes like setting up a db transaction, etc.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Method Combination

wrapping-standard (long method combination)

Methods
Method: handle-action (ACTION standard-action) A S F around
Source

standard-action.lisp (file)

Method: handle-action (ACTION basic-action) APPLICATION (SESSION basic-session) PREVIOUS-FRAME around
Source

basic-action.lisp (file)

Method: handle-action (ACTION action) APPLICATION (SESSION basic-session) PREVIOUS-FRAME
Source

basic-action.lisp (file)

Method: handle-action (ACTION action) APPLICATION (SESSION basic-session) FRAME wrap-around
Source

basic-action.lisp (file)

Method: handle-action ACTION APPLICATION (SESSION basic-session) FRAME around
Source

basic-action.lisp (file)

Method: handle-action ACTION APPLICATION (SESSION basic-session) FRAME wrap-around
Source

basic-action.lisp (file)

Method: handle-action (ACTION action-with-isolation-support) APPLICATION SESSION FRAME before
Source

basic-action.lisp (file)

Method: handle-action (ACTION action) APPLICATION SESSION FRAME

The base method simply starts the CALL-ACTION protocol.

Source

basic-action.lisp (file)

Generic Function: handle-request SERVER REQUEST RESPONSE

Perform one iteration of the RERL on REQUEST and RESPONSE.

Methods defined on this generic function must be built from the methods associated-application and service and should, as much as possible, handle all conditions signalled by calls to service.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: handle-request (SERVER standard-server) (REQUEST request) (RESPONSE response)
Source

standard-server.lisp (file)

Generic Function: handle-toplevel-condition APPLICATION CONDITION ACTION

Process a condition that reached the UCW toplevel.
If this function returns it means that the callers must try to clean up and continue.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: handle-toplevel-condition APPLICATION (ERROR too-many-sessions) ACTION
Source

request-loop-error.lisp (file)

Method: handle-toplevel-condition APPLICATION (ERROR no-handler-for-request) ACTION
Source

request-loop-error.lisp (file)

Method: handle-toplevel-condition APPLICATION (ERROR serious-condition) ACTION
Source

request-loop-error.lisp (file)

Method: handle-toplevel-condition APPLICATION (ERROR serious-condition) ACTION before
Source

request-loop-error.lisp (file)

Generic Function: handler OBJECT
Generic Function: (setf handler) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: handler (FUNCTION-HANDLER function-handler)
Method: (setf handler) NEW-VALUE (FUNCTION-HANDLER function-handler)

Called when the dispatchers finds a
maching request. This function must be a zero arg’ed (lambda ()
...)

Source

standard-dispatchers.lisp (file)

Method: handler (ENTRY-POINT-HANDLER entry-point-handler)
Method: (setf handler) NEW-VALUE (ENTRY-POINT-HANDLER entry-point-handler)

Function to run when this
entry-point-handler runs. This handler is a zero-arged.

Source

basic-dispatchers.lisp (file)

Generic Function: handler-handle HANDLER APPLICATION CONTEXT MATCHER-RESULT

Abstract function for handler classes to
implement the handling of the matched request.

These methods may modify context as they wish since they are matched, request will be closed after this method is run.

Package

it.bese.ucw.core

Source

basic-dispatchers.lisp (file)

Methods
Method: handler-handle (HANDLER regexp-binding-handler) APPLICATION CONTEXT MATCHER-RESULT around
Source

standard-dispatchers.lisp (file)

Method: handler-handle (HANDLER starts-with-binding-handler) APPLICATION CONTEXT MATCHER-RESULT around
Source

standard-dispatchers.lisp (file)

Method: handler-handle (DISPATCHER simple-dispatcher) (APPLICATION basic-application) (CONTEXT standard-request-context) MATCHER-RESULT
Source

standard-dispatchers.lisp (file)

Method: handler-handle (FUNCTION-HANDLER function-handler) (APPLICATION basic-application) (CONTEXT standard-request-context) MATCHER-RESULT
Source

standard-dispatchers.lisp (file)

Method: handler-handle (DISPATCHER action-dispatcher) (APPLICATION basic-application) (CONTEXT standard-request-context) MATCHER-RESULT
Method: handler-handle (HANDLER entry-point-handler) (APPLICATION basic-application) (CONTEXT standard-request-context) MATCHER-RESULT
Generic Function: headers-are-sent-p RESPONSE

Returns whether the headers are already written to the network stream or not.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: html-element.css-class OBJECT
Generic Function: (setf html-element.css-class) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: html-element.css-class (SELF list-container) around
Source

container.lisp (file)

Method: html-element.css-class (HTML-ELEMENT-MIXIN html-element-mixin)

automatically generated reader method

Source

html-element.lisp (file)

Method: (setf html-element.css-class) NEW-VALUE (HTML-ELEMENT-MIXIN html-element-mixin)

automatically generated writer method

Source

html-element.lisp (file)

Generic Function: html-element.css-style OBJECT
Generic Function: (setf html-element.css-style) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: html-element.css-style (HTML-ELEMENT-MIXIN html-element-mixin)

automatically generated reader method

Source

html-element.lisp (file)

Method: (setf html-element.css-style) NEW-VALUE (HTML-ELEMENT-MIXIN html-element-mixin)

automatically generated writer method

Source

html-element.lisp (file)

Generic Function: html-element.dom-id OBJECT
Generic Function: (setf html-element.dom-id) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: html-element.dom-id (HTML-ELEMENT-MIXIN html-element-mixin)

automatically generated reader method

Source

html-element.lisp (file)

Method: (setf html-element.dom-id) NEW-VALUE (HTML-ELEMENT-MIXIN html-element-mixin)

automatically generated writer method

Source

html-element.lisp (file)

Generic Function: html-stream RESPONSE

Return the stream we can write html output to.

This stream may be cached in order to provide an accurate Content-Length header.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: jump-to-component TARGET
Package

it.bese.ucw.core

Methods
Method: jump-to-component (TARGET standard-component)

Transfer control of the window to TARGET.

This method, unlike call-component, drops the backtrack and component stack and clears the session table. TARGET will be placed in the current frame’s window-component (and so sholud be a window-component or similar). Using the backbutton or accessing previously cloned windows will no longer work.

Source

control-flow.lisp (file)

Generic Function: lock-of OBJECT
Generic Function: (setf lock-of) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Methods
Method: lock-of (BASIC-SESSION basic-session)

automatically generated reader method

Source

basic-classes.lisp (file)

Method: (setf lock-of) NEW-VALUE (BASIC-SESSION basic-session)

automatically generated writer method

Source

basic-classes.lisp (file)

Method: lock-of (STANDARD-SERVER standard-server)

automatically generated reader method

Source

basic-classes.lisp (file)

Method: (setf lock-of) NEW-VALUE (STANDARD-SERVER standard-server)

automatically generated writer method

Source

basic-classes.lisp (file)

Method: lock-of (MINIMAL-APPLICATION minimal-application)

automatically generated reader method

Source

basic-classes.lisp (file)

Method: (setf lock-of) NEW-VALUE (MINIMAL-APPLICATION minimal-application)

automatically generated writer method

Source

basic-classes.lisp (file)

Generic Function: login-user SELF
Package

ucw-standard

Source

secure-application.lisp (file)

Method Combination

cc-standard (long method combination)

Methods
Method: login-user (SELF standard-component) primary
Generic Function: logout-user SELF
Package

ucw-standard

Source

secure-application.lisp (file)

Method Combination

cc-standard (long method combination)

Methods
Method: logout-user (SELF standard-component) primary

Delete user but stay at the same place.

Generic Function: make-backend BACKEND-SPEC &key &allow-other-keys

Returns a UCW server backend as requested by
the functional arguments. BACKEND-SPEC may be :HTTPD, :MOD-LISP, an existing backend, an existing UCW server backend or :DEFAULT in which case it attempts to return a sane default from the UCW backends loaded and available.

Package

it.bese.ucw.core

Source

control.lisp (file)

Methods
Method: make-backend (BACKEND-SPEC backend) &key
Method: make-backend (BACKEND-SPEC (eql default)) &rest KEYS
Method: make-backend (BACKEND-SPEC (eql iolib)) &rest KEYS
Method: make-backend (BACKEND-SPEC (eql mod-lisp)) &rest KEYS
Method: make-backend (BACKEND-SPEC (eql httpd)) &rest KEYS
Method: make-backend BACKEND-SPEC &rest ARGS
Generic Function: make-request-context APPLICATION REQUEST RESPONSE

Create a new request-context form REQUEST and RESPONSE.

The returned context will have its application, request and response slots set to APPLICATION, REQUEST and RESPONSE.

This method need not neccessarily return a new object each time but may reuse previouly created objects in which case a call to clear-context must be made before returning the object.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: make-request-context (APP minimal-application) (REQUEST request) (RESPONSE response)
Source

basic-application.lisp (file)

Generic Function: map-parameters REQUEST LAMBDA

Apply LAMBDA to all the parameters in REQUEST.

LAMBDA will be passed two arguments: the name of the parameter, a string, and the value of the parameter, a string or a list of strings. The values are passed in that order and LAMBDA must not modify any of the values passed to it.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: matcher-match MATCHER APPLICATION CONTEXT

Abstract method for subclasses to implement a
matcher. This method would return multiple-values according to matcher internal nature, but the first return value is always used to indicate if this matcher matched.

No methods defined on this function may rebind *context*, nor change CONTEXT’s application. Only if the method matches the request, it is allowed to modify CONTEXT or APPLICATION, even in that case methods defined on this function must not modify CONTEXT’s application nor rebind *context*.

Package

it.bese.ucw.core

Source

basic-dispatchers.lisp (file)

Methods
Method: matcher-match (MATCHER regexp-url-matcher) (APPLICATION basic-application) (CONTEXT standard-request-context)

Returns two values to handler on success: the whole match as a string plus an array of substrings (or NILs) corresponding to the matched registers.

Source

standard-dispatchers.lisp (file)

Method: matcher-match (MATCHER starts-with-matcher) (APPLICATION basic-application) (CONTEXT standard-request-context)

Returns matched url-string to handler.

Source

standard-dispatchers.lisp (file)

Method: matcher-match (MATCHER action-dispatcher) (APPLICATION basic-application) (CONTEXT standard-request-context)
Method: matcher-match (MATCHER url-matcher) (APPLICATION basic-application) (CONTEXT standard-request-context)

Returns matched url-string to handler.

Method: matcher-match (MATCHER session-frame-matcher) (APPLICATION basic-application) (CONTEXT standard-request-context)
Generic Function: mime-part-body MIME-PART

Returns the body of MIME-PART.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: mime-part-headers MIME-PART

Returns an alist of the headers of MIME-PART.

The alist must be of the form (NAME . VALUE) where both NAME and VALUE are strings.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Generic Function: network-stream RESPONSE

Return the stream attached to the client’s browser.

Any bytes written to this stream are sent immediatly to the client (though buffering issues may arise).

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf network-stream) (generic function)

Methods
Method: network-stream (DUMMY-RESPONSE dummy-response)

automatically generated reader method

Source

standard-request-context.lisp (file)

Generic Function: (setf network-stream) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Reader

network-stream (generic function)

Methods
Method: (setf network-stream) NEW-VALUE (DUMMY-RESPONSE dummy-response)

automatically generated writer method

Source

standard-request-context.lisp (file)

Generic Function: note-cache-updated COMPONENT OUTPUT

Called whenever COMPONENT’s cache is updated. It is safe to override the primary method.

Package

ucw-standard

Source

cached.lisp (file)

Methods
Method: note-cache-updated (N num-hits-cache-component-mixin) OUTPUT
Method: note-cache-updated (C timeout-cache-component-mixin) OUTPUT
Method: note-cache-updated (COMPONENT cache-component-mixin) OUTPUT
Generic Function: notify-session-expiration SESSION

This is called after the session has been deleted.

While this method is called the application is not locked (so it’s ok to grab external resouces) but the session is.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: notify-session-expiration SESSION
Source

basic-application.lisp (file)

Method: notify-session-expiration (SESSION basic-session) before
Source

basic-application.lisp (file)

Generic Function: on-authorization-reject APP USER FROM TO
Package

ucw-standard

Source

secure-application.lisp (file)

Method Combination

cc-standard (long method combination)

Methods
Method: on-authorization-reject (APP application) USER FROM (TO standard-component) primary
Generic Function: paged-list.current-page RANGE
Package

ucw-standard

Methods
Method: paged-list.current-page (RANGE paged-list)
Source

paged-list.lisp (file)

Generic Function: paged-list.have-next-p VIEW
Package

ucw-standard

Methods
Method: paged-list.have-next-p (VIEW paged-list)

Returns true if VIEW has a page after the current one.

Source

paged-list.lisp (file)

Generic Function: paged-list.have-previous-p VIEW
Package

ucw-standard

Methods
Method: paged-list.have-previous-p (VIEW paged-list)

Returns true if VIEW has a page before the current one.

Source

paged-list.lisp (file)

Generic Function: paged-list.offset OBJECT
Generic Function: (setf paged-list.offset) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: paged-list.offset (PAGED-LIST paged-list)
Method: (setf paged-list.offset) NEW-VALUE (PAGED-LIST paged-list)

Which of the pages we’re currently looking at.

Source

paged-list.lisp (file)

Generic Function: paged-list.page-count LIST
Package

ucw-standard

Methods
Method: paged-list.page-count (LIST paged-list)
Source

paged-list.lisp (file)

Generic Function: paged-list.page-size OBJECT
Generic Function: (setf paged-list.page-size) NEW-VALUE OBJECT
Package

ucw-standard

Methods
Method: paged-list.page-size (PAGED-LIST paged-list)

automatically generated reader method

Source

paged-list.lisp (file)

Method: (setf paged-list.page-size) NEW-VALUE (PAGED-LIST paged-list)

automatically generated writer method

Source

paged-list.lisp (file)

Generic Function: paged-list.pages OBJECT
Package

ucw-standard

Methods
Method: paged-list.pages (PAGED-LIST paged-list)

automatically generated reader method

Source

paged-list.lisp (file)

Generic Function: parent COMPONENT

Returns the parent of COMPONENT.

Only window components and detached components may return NIL from this function.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf parent) (generic function)

Methods
Method: parent (STANDARD-COMPONENT standard-component)

automatically generated reader method

Source

standard-component.lisp (file)

Generic Function: (setf parent) NEW-VALUE OBJECT
Package

it.bese.ucw.core

Reader

parent (generic function)

Methods
Method: (setf parent) NEW-VALUE (STANDARD-COMPONENT standard-component)

automatically generated writer method

Source

standard-component.lisp (file)

Generic Function: place PLACE
Generic Function: (setf place) VALUE PLACE
Package

it.bese.ucw.core

Source

backtracking.lisp (file)

Methods
Method: place (PLACE place)

Returns the current value of PLACE.

Method: (setf place) VALUE (PLACE place)

Set the value of PLACE to VALUE.

Generic Function: query-path REQUEST

Return the QUERY-PATH of REQUEST as a string.

The returned string may share structure with objects in the request and sholud be considered read-only. The returned query-path must be already escaped.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Writer

(setf query-path) (generic function)

Methods
Method: query-path (CONDITION inexistent-request-part)
Source

conditions.lisp (file)

Generic Function: (setf query-path) NEW-VALUE CONDITION
Package

it.bese.ucw.core

Reader

query-path (generic function)

Methods
Method: (setf query-path) NEW-VALUE (CONDITION inexistent-request-part)
Source

conditions.lisp (file)

Generic Function: refresh-component COMPONENT

This generic action is should simply redraw COMPONENT without performing any action.

It can be used as the :action parameter to forms which have
multiple submit buttons and we don’t want hitting the enter key
to call one of the actions.

Package

it.bese.ucw.core

Source

control-flow.lisp (file)

Method Combination

cc-standard (long method combination)

Methods
Method: refresh-component (C component) primary
Generic Function: register-action-in-frame FRAME ACTION-ENTRY

Register an action in the frame and return its id.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: register-action-in-frame (FRAME standard-session-frame) ACTION
Source

standard-session-frame.lisp (file)

Generic Function: register-application SERVER APPLICTAION
Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: register-application (SERVER standard-server) (APP application)
Source

standard-server.lisp (file)

Method: register-application (SERVER standard-server) (APP application) around
Source

standard-server.lisp (file)

Generic Function: register-callback-in-frame FRAME CALLBACK &key ID

Registers a callback-entry in this frame and return the callback itself.

When passed in an action generated by FRAME then CALLBACK will be called passing it the value of the corresponding request param.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Methods
Method: register-callback-in-frame (FRAME standard-session-frame) CALLBACK &key ID

Registers a callback-entry in this frame. When passed in an
action generated by FRAME then CALLBACK will be called passing it the value of the corresponding request param.

Source

standard-session-frame.lisp (file)

Generic Function: remove-component C KEY
Package

ucw-standard

Methods
Method: remove-component (C switching-container) KEY around
Source

container.lisp (file)

Method: remove-component (C container) KEY

Removes the component object in C associated with KEY. Returns T when container was found and actually removed.

Source

container.lisp (file)

Generic Function: render COMPONENT

The generic entry point for rendering components to the user.

Package

it.bese.ucw.core

Source

protocol.lisp (file)

Method Combination

wrapping-standard (long method combination)

Methods
Method: render (SELF user-login)
Source

user-login.lisp (file)

Method: render (TASK task-component)
Source

task.lisp (file)

Method: render (COMPONENT tal-component) around

Render a template based component.

The name of the template is the value returned by the generic function TAL-COMPONENT.TEMPLATE-NAME, the template will be rendered
in the environment returned by the generic function TAL-COMPONENT-ENVIRONMENT.

Source

tal.lisp (file)

Method: render (REDIRECT redirect-component)
Source

redirect.lisp (file)

Method: render (DIALOG option-dialog)
Source

option-dialog.lisp (file)

Method: render (PANE tabbed-pane)
Source

container.lisp (file)

Method: render (CONTAINER list-container)
Source

container.lisp (file)

Method: render (CONTAINER switching-container)
Source

container.lisp (file)

Method: render (N num-hits-cache-component-mixin) after
Source

cached.lisp (file)

Method: render (C cache-component-mixin) wrapping
Source

cached.lisp (file)

Method: render (WIDGET html-inline-element-mixin) wrap-around

Wrap component in a <span> tag.

Source

html-element.lisp (file)

Method: render (WIDGET html-block-element-mixin) wrap-around

Wrap component in a <div> tag.

Source

html-element.lisp (file)

Method: render (M info-message)
Source

standard-components.lisp (file)

Method: render (WINDOW basic-window-features-mixin)

This convience method assumes: 1) the stylesheet is
external (as opposed to inlined) or is not used; 2) the script file is javascript and is external or is no script is used and 3) the title is either a literal or a lambda with one argument (the window).

Source

standard-components.lisp (file)

Method: render COMPONENT wrap-around
Source

standard-components.lisp (file)

Method: render (WINDOW window-component) before
Source

window.lisp (file)

Method: render (COMP dummy-root-component)
Source

standard-request-context.lisp (file)

Method: render (COMPONENT standard-component) wrapping

Setup up a convience restart, bind *yaclml-stream* and add inspector links.

Source

standard-component.lisp (file)

Method: render (COMPONENT standard-component) wrap-around
Source

standard-component.lisp (file)

Method: render COMPONENT
Source

standard-component.lisp (file)

Generic Function: render-html-body WINDOW
Package

it.bese.ucw.core

Source

standard-components.lisp (file)

Methods
Method: render-html-body (SELF user-login-window) before
Source

user-login.lisp (file)

Method: render-html-body (SELF user-login-window)
Source

user-login.lisp (file)

Method: render-html-body (ERR error-message-window)
Source

error.lisp (file)

Method: render-html-body (WINDOW standard-window-component)
Method: render-html-body (WINDOW basic-window-features-mixin) around
Generic Function: render-paged-list-item PAGED-LIST ITEM

Render a single element of a paged-list.

Package

ucw-standard

Source

paged-list.lisp (file)

Methods
Method: render-paged-list-item (PAGED-LIST paged-list) ITEM

Standard implementation of RENDER-PAGED-LIST-ITEM. Simply applies ITEM to princ (via <:as-html).

Generic Function: render-pane-contents PANE
Package

ucw-standard

Source

container.lisp (file)

Methods
Method: render-pane-contents (PANE tabbed-pane)
Generic Function: render-pane-options PANE
Package

ucw-standard

Source

container.lisp (file)

Methods
Method: render-pane-options (PANE tabbed-pane)
Generic Function: render-template CONTEXT TEMPLATE-NAME ENVIRONMENT
Package

ucw-standard

Methods
Method: render-template (CONTEXT request-context) TEMPLATE-NAME ENVIRONMENT
Source

tal.lisp (file)

Generic Function: request-context-class APPLICATION

Returns a list of the context mixin classes.

<