• Post Reply Bookmark Topic Watch Topic
  • New Topic

Access PortletSession inside of DWR

 
Shannon Sims
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello and thank you for reading my post! I've googled this issue and have tried everything (so it seems) with no luck.

How can I access the PortletSession inside my DWR class? I need to be able to store session values so that my DWR classes can access these values.

Here's what I did inside my "render mapping" controller class, I am setting a value, like so:

Several portlet's later...inside my DWR class, I am trying to access the dogName like so:


Thanks so much for reading my post!!!
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!