cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: getting session in AbstractJavaSelectionList
Date Fri, 09 Nov 2007 14:23:38 GMT
Michel Erard pisze:
>  
> Hello, 

Hello Michel.

> I need access to session attributes in a subclass of AbstractJavaSelectionList. Can I
get the session with Spring or a factory?

I assume that you use Cocoon 2.2. Then yes, you can get session from request object that is
served
by o.a.c.processing.ProcessInfoProvider interface so you just need to add a dependency on
a bean named:
org.apache.cocoon.processing.ProcessInfoProvider

I hope that helps.

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/

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


Mime
View raw message