This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting objects on request from process action

 
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: 2068
  • 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