cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Dietz" <>
Subject using session transformer/accessing context
Date Tue, 28 Oct 2003 15:25:40 GMT
I´m new to Cocoon and would like to know how to use the session
transformer. I did
read the documentation under 
but it somehow popped more questions than it answered :-)
I generated a session context with
<map:transform type=”session”>
            <session:createcontext name=”test-context/>
My questions now are:
Is it right to use
<map:transform type=”session”>
            <session:setxml context=”test-context” path=”/”>
to add information to the context? Afterwards it would look like this?:
And the other questions:
How do I access information saved in the context? Is it possible to
access it from inside an xslt or xsp?
How do I load a file that depends on one of the parameters, like
{foo}.xml? The ways I tried
using session:getxml did not bring me any further.
Thanks a lot in advance,
Peter Dietz

View raw message