[jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method
hubertg
do-not-reply at jboss.com
Tue Jul 18 13:30:02 EDT 2006
thanks for your answer.
The order is:
1. processAction() portlet A
2. render() portlet A
3. render() portlet B
4. render() other portlests C,D, ...
I'm porting a MVC web framework (WebWork 1) into a portlet. The classical MVC approach is based on one atomic request-response cycle. The action class needs the input parameters, creates a ValueStack (the action's result) which is passed to the jsp pages via request attributes. In the portlet I have to split this process into two phases, namely the processAction and the render phase. Therefore I need a way to pass the ValueStack from the processAction phase to the render phase.
I think render params are no solution for my problem because first I don't want to make results directly visible for the user and second it's practically impossible to set java objects as render objects.
br, hubert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958898#3958898
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958898
More information about the jboss-user
mailing list