Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 -Post-Redirect-Get aka Redirect after post

2010-10-15 Thread Alberto Gallardo
> My experience make portlet the ioc inside s2 conflicted with spring inside > liferay > > Perm mem eror show > Not that I have long experience with liferay, but up to now, I have had no problems. - To unsubscribe, e-mail: user-u

Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post

2010-10-14 Thread Alberto Gallardo
> Maybe this is related (although old): > http://issues.liferay.com/browse/LEP-1487 Thanks a lot! This is exactly what I was looking for. Now it works like a charm! :-) By the way, my solution did not work. I was now facing the next problem with the ActionResponse.redirect() in ActionSupport.exe

Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post

2010-10-14 Thread Alberto Gallardo
Hi, > Have you looked at the portlet sample app? It has a few portlet PRG > examples. Try deploying it in Liferay and see if it works as expected. I guess you mean the portlet sample in https://cwiki.apache.org/confluence/display/WW/Struts+2+Portlet+Tutorial Yes, I tried it and tried to debug th

Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post

2010-10-14 Thread Alberto Gallardo
t;        throw new IllegalStateException("Not allowed in a portlet"); >    } > > Am I wrong? ...I found that I can redirect using this method inside an Action.execute(): PortletActionContext.getActionResponse().sendRedirect(String location) Regards, Alberto Gallardo

Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post

2010-10-12 Thread Alberto Gallardo
> couldn't get the Post-Redirect-Get (PRG) working. The type="redirectAction"> does not translate into a browser redirection. I've tried to debug the code, and only could find following method implementation, that suggest me that an http redirection _is_not_supported_: package org.apache.struts2

struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post

2010-10-10 Thread Alberto Gallardo
I have tried the Struts 2 Portlet Tutorial (https://cwiki.apache.org/confluence/display/WW/Struts+2+Portlet+Tutorial) with the struts2-portlet2-plugin-2.1.8.1 plugin (http://boss.bekk.no/display/BOSS/Struts+2+Portlet+2.0+Plugin), but couldn't get the Post-Redirect-Get (PRG) working. The does not t