Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Access PortletSession inside of DWR  RSS feed

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!!!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!