cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Wielgus <lis...@o2.pl>
Subject Including - another problem
Date Sun, 26 Oct 2003 12:33:37 GMT
Hi again,

the stuff with cinclude works, but there is a problem, that only a
static text is being included. My include "header.xsp" file contains
the following:

<?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>

And I include it in my main-document with:

<cinclude:include src="resources/content/header.xsp"/>

But only the word "Hallo" is in output on the main page.
On the other hand, when I call "header.xsp" explicitly, than I see
the result of <xsp-session-fw> on the screen.

What may be the problem?

Jan

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


Mime
View raw message