Guys,

please have a look at:

http://marc.theaimsgroup.com/?t=113821146000004&r=1&w=2&n=4

While the documentation seems to imply that the session object should
be available to JXTG, it doesn't seem the case at all. Are we missing
something or is that a bug? The relevant lines to blame seem to be:

src/java/org/apache/cocoon/generation/JXTemplateGenerator.java" line 2433:

 if (session != null) {
            cocoon.put("session",
FOM_JavaScriptFlowHelper.getFOM_Session(objectModel));
        }

given that no session object is available in the objectModel, and
given that a few lines above the session is grabbed anyways:

        final Object session = request.getSession(false);

that line should become

if (session != null) {
            cocoon.put("session", session);
}

which works for us. Or are we missing something? I'm wondering what
should FOM_JavaScriptFlowHelper.getFOM_Session(objectModel) do at all,
if that's the case...

--
Gianugo Rabellino
Pro-netics s.r.l. -  http://www.pro-netics.com
Orixo, the XML business alliance: http://www.orixo.com
(blogging at http://www.rabellino.it/blog/)