[jboss-user] [JBoss Portal] - Re: correct use of processAction and doView

sudarshanacharya do-not-reply at jboss.com
Mon Jul 9 13:44:31 EDT 2007


"If you want to void that then you should store the error message in the PortletSession and remove it from the session during the render."

>> This is what I am uncomfortable with. I have built a whole web portal using JBP, but I have to put so many objects and messages in session scope from processAction, and then retrieve back in doView and then remove from session. This makes the code looks so ugly , and  more importantly there are some issues with multi-windows because of variables in session. 

I was just wondering if there are better ways to do that. Every singe object processed by processAction to be put in session  for do View for rendering?

Are there actually any ideal code samples??



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062085#4062085

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062085



More information about the jboss-user mailing list