cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asif_zzz <as...@meteximtechnologies.com>
Subject Re: How to get the session attribute in bean
Date Thu, 23 Oct 2008 05:57:58 GMT

Hi Johannes,
Please dont mistake me if the query are basic

I'm setting a String value in session attribute

cocoon.session.setAttribute("key",data); 

my scenario is get the above session value in bean class.how to get it??

Regards,
Aashik


Johannes Hoechstaedter wrote:
> 
> Hi Aashik ,
> 
> -reply to your mail from today.
> 
> I have to confess, that I don't know exactly whats the difficulty is in 
> your case. Maybe you can give more details?
> 
> If you can get the request object you should be able to set and add 
> attributes for your session (as you already do I think).
> 
> cheers
> Johannes
> 
> Johannes Hoechstaedter schrieb:
>> Maybe you will find it already posted in the mailing list. Search here:
>> http://www.mail-archive.com/users@cocoon.apache.org/
>>
>> Maybe this article is helpful as well:
>> http://wiki.apache.org/cocoon/InputModules
>>
>> cheers,
>> Johannes
>>
>> asif_zzz schrieb:
>>> Hi,
>>> im new to cocoon.
>>> im using cocoon 2.1.10,spring ORM and hibernate.
>>>
>>> im setting a session attribute in flowscript(flow.js)
>>>
>>> cocoon.session.setAttribute("Instance",instance);
>>>
>>>
>>> I need to get the above session attibute in bean.
>>> Anyone please tell me how to get it??
>>>
>>> Thanks in advance.
>>>
>>> Regards,
>>> Aashik
>>>
>>>   
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-the-session-attribute-in-bean-tp20089416p20124800.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


Mime
View raw message