"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...