cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helmut Tammen <Helmut.Tam...@epost.de>
Subject Portal session-context in the portal-fw
Date Wed, 26 Mar 2003 10:12:30 GMT
Hi,

I canĀ“t get any information from the session-context "portal".

Following situation:
1. Coplet resource uri: <resource uri="cocoon:/sunspotdemo-test"/>
2. pipeline in sitemap.xmap: <map:match pattern="sunspotdemo-test">
     <map:generate src="resources/auth/test.xsp" type="serverpages"/>
     <map:transform type="session"/>
     <map:serialize type="xml"/>
   </map:match>
3. xsp - file test.xsp (excerpt):
   <xsp:page xmlns:xsp="http://apache.org/xsp"
             xmlns:session="http://apache.org/xsp/session/2.0">
     URI:<session:getxml context="portal" path="/configuration/uri"/><br/>
     color:<session:getxml context="portal" 
path="/layout/coplets/content/background/color"/>
   </xsp:page>

Result:
Test.xsp is called and executed (I do some more other things inside it 
which work fine) but the strings after URI: and color: are emtpy.

Thanks Helmut


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message