After your processAction completes, doView should get called again (assuming 
your portlet is still in 'view' mode - if not, doEdit or doHelp will be). 

One idea for you is to put the JSP you want to display into a render parameter 
in your processAction method and look for that in your doView method.

The reason behind all this convolution is that in a portal there will be 
multiple portlets displayed on the user's screen at one time. Any one of them 
may post back to the server, at which point only that one should actually 
perform an action but the rest should refresh their views. To accomplish this, 
the spec splits processing into an 'action' phase (that is only done by the 
portlet that was the target of the post) and the 'render' phase (that is done 
by every portlet on the page (unless their output is cached by the portal 
server))

Hope this helps.
-danch

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to