cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Joelly <christian.joe...@knapp.com>
Subject [C2.0.1] session:set-attribute
Date Tue, 12 Mar 2002 10:14:44 GMT
Hello!

can session attributes only be set through the sitemap? if i look at the
generated java code, i think it is impossible to set session attributes
from java variables or from an string object...

<session:set-attribute name="report"><xsp:expr>sReport</xsp:expr></session:set-attribute>

XSPRequestHelper.setSessionAttribute(objectModel, String.valueOf("report"), "sReport");

Chris

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian Jölly        Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7     A-8075 Hart bei Graz


Mime
View raw message