Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting objects on request from process action  RSS feed

 
Andrew Mcmurray
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I need to set an object on the request from the processAction method. When I try to do respose.setRenderRequest("key", Object) it complains that it wants two strings. Right now I am getting around this by saving my object as a to a class member and then user this class member in the doView method. It is ugly, but working. Any better ways?

Thanks,

AMD
 
Jesus Angeles
Ranch Hand
Posts: 2070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
setRenderRequest?

Did you mean PortletRequest.setAttribute?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!