Hi,
I am currently using Spring MVC in Websphere portal 6, I am running into a strange problem when linking one portal to another portal page that houses a Spring MVC portlet.
I'll try to describe the problem.
From portlet Y in Page A I am linking to a Spring MVC Portlet in Page X, I am using urlGeneration from websphere as follows:
I have the 'menu' action mapped in Spring MVC to display my main menu, and I am sending this as a param in the urlGeneration, this works well as long as I dont don't submit my form in my Spring MVC portlet, actually only if I dont submit to any non org.springframework.web.portlet.mvc.Parameterizabl eViewController Controller, after I submit a SimpleFormController for example, and I go back to Page A and link back to my Spring MVC portlet instead of going to my menu page as required by my action parameter, it instead resubmits the last form and I end up in another view.Code:<wps:urlGeneration contentNode="6_EEMJQ7P30OO0F02V5P246A2007" portletWindowState="Normal" layoutNode="3_EEMJQ7P30G83502V9DJUV60004" accessControlCheck="NoCheck"> <wps:urlParam name="action" value="menu"/> <a href="<% wpsURL.write(out); %>"> Search </a> </wps:urlGeneration>
can anybody shed some light as to why this might be happening?
Thanks,
Angel


Reply With Quote
