cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Messing, Elad" <>
Subject WG: Session attributes from JXTemplate
Date Fri, 08 Jul 2005 08:26:05 GMT
Sorry, just noticed that I have sent the "Session Action" with comment
commented. (removed the comment below now)
In my code it is not commented, so it seems this is not the problem..

Any ideas ?


Von: Messing, Elad 
Gesendet: Donnerstag, 7. Juli 2005 18:13
Betreff: Session attributes from JXTemplate

Hello all 
        It seems that I am missing something here: 
        I would like to access some session data from JXTemplate in my
        Here is my sitemap: 
      <map:act type="session"> 
        <map:parameter name="action" value="create"/> 
        <map:match pattern="session.html"> 
          <map:generate type="jx" src="content/session.html"/> 
        When I call session.html a session is started , and than JX
generator is generating the session.html file : 
<?xml version="1.0" encoding="ISO-8859-7"?> 
<html xmlns:jx=""> 
session debug file 
time : ${cocoon.session.creationTime} ID: ${} 
new ? 
<jx:if test="${cocoon.session.isNew()}"> 
        session is new. 

No - no matter what I do I cannot get the session data. I am not even
sure it is opened ! On the other hand - I also do not get "session is
new" as well...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<> ">
<html xmlns:jx="">
session debug file
locale:  time :  ID:
new ?

What am I missing here ? 

Thank you ! 

Elad Messing 
Software Developer 
European Media Laboratory GmbH 
Schloss-Wolfsbrunnenweg 33 
D-69118 Heidelberg 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message