Thanks a lot it works. I missed the Application_scope. That's y it
cribbed.

-----Original Message-----
From: Ate Douma [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 2:30 PM
To: Jetspeed Users List
Subject: Re: how to get portlet session variable in a struts action

Parambathu Kandy, Yasser Arafat (Cognizant) wrote:
> Hi,
>
>
>
> This is my problem.
>
> Page A: has 5 portlets. In one of them there is a combo. I choose a
> value and hit submit.
>
> It goes to the portlet's processAction where I sendRedirect to as psml
> having 4 new portlets. This psml is Page B.
>
> One of the portlets in page B is a struts bridge portlet. I need to
get
> the session attribute value in the Struts user action class set in
Page
> A portlet.
>
>
>
> Things I Tried:
>
> I set the value in portletSession in Page A and retrieved using
> HttpSession in Page B's struts action. I got a null.
>
>
>
>
>
> To put my question in a single sentence,
>
> "How do I get the portletSession attribute value ,set in a portlet ,
in
> an action class invoked by StrutsPortlet? "
a) both portlets must be part of the portlet application (same war file)
b) use PortletSession.APPLICATION_SCOPE for setAttribute

>
>
>
>
>
> Thanks in advance,
>
>
>
> Yasser
>
>
>
>
>
>
>
>
>
> This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
> If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly
> prohibited and may be unlawful.
>
>   Visit us at http://www.cognizant.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to