May 14th, 2009, 05:18 AM
Spring MVC Portlets - handleActionRequestInternal
Im trying to use my own ParameterHandlerMapping class to move to a specific controller (extends AbstractController) based on a submitted request parameter. The transfer to the controller works but it invokes the handleActionRequestInternal method instead of the desired handleRenderRequestInternal to display the JSP. I know that the action phase is being invoked from the previous controller from the form submission but is there a way to get it to invoke the render phase of the destination controller instead?
If I have the wrong end of the stick please let me know as I am still learning Spring MVC and Porlets.
May 14th, 2009, 06:04 AM
I have fixed this myself, I was using the <portlet:actionURL> tag in my form action (submit button in jsp) when I should have been using <portlet:renderURL>.