first cut of page envelope

"Gregor J. Rothfuss" <[email protected]> Mon, 31 Mar 2003 18:24:24 +0200
Newsgroups gmane.comp.cms.wyona.devel
Message-ID <[email protected]>
i checked in a first cut for the lenya page envelope today.

the idea of the page envelope is to standardize all system-wide
variables that lenya (and its publications) need, such as:

- currently logged in user
- request uri
- referer
..

the goal is to eventually collect all these informations in
one place, and distribute them reliably to the places that
need them. we came up with the notion of a page envelope
that "wraps" each page with an envelope containing these
values. this envelope is not there yet, but the necessary
environment variables are now centrally collected.

for details, see java/org/apache/cocoon/logicsheets/util.xsl
and the relevant xsp in webapp/lenya/content

some stuff may be a bit broken, so beware :)

-gregor

-- 
Gregor J. Rothfuss   [email protected]  +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com