Hi,

thanks to everyone who thought about my problem. In the meantime it´s working like documented. The problem was that I mixed the xsp-session logicsheet with the session transformer. After separating these and using them in the correct manner it worked.

Helmut

On Wed, 26 Mar 2003 15:16:54 +0100, Helmut Tammen <[EMAIL PROTECTED]> wrote:

Here are some additional informations:

Cocoon - Verion: 2.1-dev (CVS)

All attributes in the session:
Name: uprofile:portalhandler|sunspotdemo:user_5_guest_guest Value: {misc=[Lorg.w3c.dom.Node;@124154, typeConfPaths=[profile/layout- profile[not(@*)]/portal[not(@*)]/layouts[not(@*)]/layout[not(@*) ]/background[not(@*)]/[EMAIL PROTECTED] and @formpath and @formdescription], profile/layout-profile[not(@*)]/portal[not(@*) ]/layouts[not(@*) ]/layout[not(@*)]/font[not(@*)]/[EMAIL PROTECTED] and @formpath and @formdescription], profile/layout-profile[not(@*) ]/portal[not(@*) ]/columns[not(@*)]/[EMAIL PROTECTED] and @formpath and @formdescription], profile/portal-profile[not(@*)]/content[not(@*) ]/[EMAIL PROTECTED]/[EMAIL PROTECTED] and @formpath and @formdescription], profile/portal-profile[not(@*)]/content[not(@*) ]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and @position]/status[not(@*)]/[EMAIL PROTECTED] and @formpath and @formdescription], profile/portal-profile[not(@*)]/content[not(@*) ]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and @position]/status[not(@*)]/[EMAIL PROTECTED] and @formpath and @formdescription]], portalLayouts={html=[layout: null], wap=[layout: null]}, copletLayouts={html=[layout: null], wap=[layout: null]}, typePaths=[profile/layout-profile[not(@*)]/portal[not(@*) ]/layouts[not(@*) ]/layout[not(@*)]/background[not(@*)]/color[not(@*) ]/backgroundcolor|Backgroundcolor, profile/layout-profile[not(@*) ]/portal[not(@*)]/layouts[not(@*)]/layout[not(@*)]/font[not(@*) ]/color[not(@*)]/textcolor|Fontcolor, profile/layout-profile[not(@*) ]/portal[not(@*)]/columns[not(@*)]/number[not(@*)]/columnnumber|Amount, profile/portal-profile[not(@*)]/content[not(@*) ]/[EMAIL PROTECTED]/width[not(@*)]/CARDINAL|Width, profile/portal- profile[not(@*)]/content[not(@*)]/[EMAIL PROTECTED]/coplets[not(@*) ]/[EMAIL PROTECTED] and @number and @position]/status[not(@*)]/visible[not(@*) ]/BOOLEAN|Visibile, profile/portal-profile[not(@*)]/content[not(@*) ]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and @position]/status[not(@*)]/size[not(@*)]/copletsize|Size], defCoplets={sundnnews=[coplet: null], customnews=[coplet: null], feedback=[coplet: null], personalizeguest=[coplet: null], S0=[coplet: null], consultantprofile=[coplet: null], germany=[coplet: null], S1=[coplet: null], banknews=[coplet: null]}, profile=[#document-fragment: null], mediaCoplets={html={}, wap={}}}


Name: portalConfportalhandler:sunspotdemo Value: {S=sunspotdemo-portal, D=profiles/copletprofile.xml, M=cocoon:raw:/sunspotdemoresource- userprofile, R=profiles/admintypes.xml, K=cocoon:raw:/sunspotdemoresource-saveroleprofile, F=profiles/types.xml, H=cocoon:raw:/sunspotdemoresource-saveglobalprofile, U=false, J=cocoon:raw:/sunspotdemoresource-roleprofile, C=profiles/layoutprofile.xml, T=sunspotdemo, N=cocoon:raw:/sunspotdemoresource-saveuserprofile, P=cocoon:raw:/sunspotdemoresource-userstatus, B=sunspotdemo-portal, Q=cocoon:raw:/sunspotdemoresource-saveuserstatus, G=profiles/globalprofile.xml, V=10000, E=profiles/copletprofile.xml}

Name: org.apache.cocoon.webapps.authentication.Handlers Value: {portalhandler=authentication-Handler portalhandler}

Name: org.apache.cocoon.webapps.authentication.SessionContext Value: [EMAIL PROTECTED]

Name: org.apache.cocoon.webapps.session.context.TransactionState Value: [EMAIL PROTECTED]@f2625f}





Name: org.apache.cocoon.webapps.session.context.SessionContext Value: {org.apache.cocoon.webapps.portal.context.SessionContext:[EMAIL PROTECTED]







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]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- ______________________________________ HTSystemlösungen Dipl.-Ing. Helmut Tammen Meißering 45 29693 Hodenhagen Germany Telefon: +49 (0) 5164 800530 Fax: +49 (0) 5164 800531 Mobil: 0170 88 22 491 e-mail: [EMAIL PROTECTED] www: http://www.htsystemloesungen.de Profil: http://htsystemloesungen.de/profil_ht.htm ______________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to