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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to