>Could you please post the whole xsp and the accordant snippets of the >sitemap? >Mat
OK. So this is my file I'm including, protected-header.xsp: <?xml version="1.0"?> <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:session="http://apache.org/xsp/session/2.0" xmlns:xsp-session="http://apache.org/xsp/session/2.0" xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0" xmlns:cinclude="http://apache.org/cocoon/include/1.0" > <message> Hallo, <xsp-session-fw:getxml context="authentication" path="/authentication/data/lastname"/> </message> </xsp:page> This is my main page (main.xsp), where I include the above file: <?xml version="1.0" encoding="ISO-8859-1"?> <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:session="http://apache.org/xsp/session/2.0" xmlns:xsp-session="http://apache.org/xsp/session/2.0" xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0" xmlns:cinclude="http://apache.org/cocoon/include/1.0"> <page> <title>Title</title> <subtitle>Subtitle</subtitle> <pagetable> <pagerow> <pageinfoline> <cinclude:include src="cocoon:/protected-header.xsp" /> </pageinfoline> </pagerow> <pagerow> <pagemenu> <cinclude:include src="cocoon:/protected-menuleft.xsp"/> </pagemenu> <pagecontent></pagecontent> <pagemenu>Tips:</pagemenu> </pagerow> <pagerow> <pagebottom>Copyright (c) 2003-2004 </pagebottom> </pagerow> </pagetable> </page> </xsp:page> And here are the sitemap-fragments: <map:match pattern="main.xsp"> <map:act type="auth-protect"> <map:parameter name="handler" value="lmhandler" /> <map:generate type="serverpages" src="resources/main.xsp" /> <map:transform type="cinclude" /> <map:transform type="xslt" src="xsl/main.xsl" /> <map:serialize type="html" /> </map:act> </map:match> <map:match pattern="protected-*.xsp"> <map:act type="auth-protect"> <map:parameter name="handler" value="lmhandler"/> <map:match pattern="**.xsp*"> <map:generate type="serverpages" src="resources/content/{1}.xsp" /> <map:transform type="xslt" src="xsl/content/{1}.xsl"/> <map:serialize type="xml"/> </map:match> </map:act> <map:redirect-to uri="login.xsp"/> </map:match> Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
