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/[email protected]/
>>
>> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to