Oskar,
try this instead:
<session:set-attribute name="username">Oskar
Werewka</session:set-attribute>
<session:get-attribute name="username"/>
If you look again at your generated code, you can see that it is setting
the value for "username" to "" in the call to setAttribute().
-Christopher
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: session basic
I have this:
<session:set-attribute name="username" content="Oskar Werewka"/>
<session:get-attribute name="username"/>
and I'm not getting any "Oskar Werewka" in the output?
but why? When I looked at the generated java code, it
seens to be OK:
session.setAttribute(
String.valueOf("username"),
""
);
and:
xspCurrentNode.appendChild(
xspExpr(
session.getAttribute(
String.valueOf("username")
)
, document)
);
But no text node is created, why?
Thanks, desperate Oskar
(It will be probably faster for me, to write my own tablib - help)
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>