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

2011-09-09 Thread abhinav
iN LIFERAY6.0.6 tO SOLVE DUPLICATE FORM SUBMISSION u HAVE TO JUST DO true IN liferay-display.xml -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-portlet2-plugin-2-1-8-1-in-Liferay-6-0-5-Post-Redirect-Get-aka-Redirect-after-post-tp3436007p4781220.html Sent from

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

2010-12-20 Thread Galina Angelova
Yes. When i set it to true, I get the following error: Not Found The requested resource was not found. http://cruises-tcb-temp-tomcat.tcit.be/c/portal/layout?p_l_id=3&p_p_id=AdminShipPortlet_WAR_cruisesadmin&p_p_lifecycle=0&_AdminShipPortlet_WAR_cruisesadmin__AdminShipPortlet_WAR_cruisesadmin_s

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

2010-12-20 Thread Nils-Helge Garli Hegvik
Did you set the "action-url-redirect" value to "true" in liferay-portlet.xml as described in the mentioned Lifray bug-report (http://issues.liferay.com/browse/LEP-1487)? Nils-H On Mon, Dec 20, 2010 at 1:22 PM, Galina Angelova wrote: > Hello, > > I have migrated a portlet application from Lifray

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

2010-12-20 Thread Galina Angelova
Hello, I have migrated a portlet application from Lifray 5.2.2 to Liferay 5.2.3 and I got the same problem. Does anybody have a solution for version 5.2.3 ? Thanks in advance! Galina - To unsubscribe, e-mail: user-unsubscr...@

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

2010-10-15 Thread Frans Thamura
would u share the code how ur spring connect to the persistance, do u create ur own session factory for hibernate, or u can use the sessionfactory inside liferay but my experience see that our struts and liferay are in different war F On Sat, Oct 16, 2010 at 1:26 AM, Alberto Gallardo wrote: >

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 Frans Thamura
ubject: Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post > 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

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 Nils-Helge Garli Hegvik
Maybe this is related (although old): http://issues.liferay.com/browse/LEP-1487 Nils-H On Thu, Oct 14, 2010 at 6:25 PM, Nils-Helge Garli Hegvik wrote: > I believe it is up to the container how the event -> render transition > is implemented. I don't think there's any guarantee that it's actualy

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

2010-10-14 Thread Nils-Helge Garli Hegvik
I believe it is up to the container how the event -> render transition is implemented. I don't think there's any guarantee that it's actualy a redirect. If you have several portlets on the page, you could check that the transition is ok by clicking on a an action/link in a different portlet, and se

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 Nils-Helge Garli Hegvik
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. Nils-H On Thu, Oct 14, 2010 at 5:52 PM, Alberto Gallardo wrote: >>> couldn't get the Post-Redirect-Get (PRG) working. The >>

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
>> couldn't get the Post-Redirect-Get (PRG) working. The > type="redirectAction"> does not translate into a browser redirection. I couldn't make this working, but... > I've tried to debug the code, and only could find following method > implementatio

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 _i

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 doe

Storing model objects for POST-REDIRECT-GET

2009-11-02 Thread Unmesh joshi
Hi, MessageStoreInterceptor is very handy in preserving error messages. This is very useful in POST-REDIRECT-GET pattern. An action handling POST can store action errors which are available for action/view processing GET request after POST.Many times we also need to preserve values entered by

Re: post-redirect-get in Firefox

2009-04-01 Thread Adam Hardy
redirect code is returned (301,307) and which method(POST/GET) ? Date: Tue, 31 Mar 2009 02:59:01 +0100 From: ahardy.str...@cyberspaceroad.com To: user@struts.apache.org Subject: post-redirect-get in Firefox I think this is likely to be nothing to do with struts but rather with firefox, however

Re: post-redirect-get in Firefox

2009-03-31 Thread Adam Hardy
o original Investran Can you see which redirect code is returned (301,307) and which method(POST/GET) ? Date: Tue, 31 Mar 2009 02:59:01 +0100 From: ahardy.str...@cyberspaceroad.com To: user@struts.apache.org Subject: post-redirect-get in Firefox I think this is likely to be nothing to do with

RE: post-redirect-get in Firefox

2009-03-30 Thread Martin Gainty
shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. > Date: Tue, 31 Mar 2009 02:59:01 +0100 > From: ahardy.str...@cyberspaceroad.com > To: user@struts.apache.org > Subject: p

post-redirect-get in Firefox

2009-03-30 Thread Adam Hardy
I think this is likely to be nothing to do with struts but rather with firefox, however trawling the net for firefox info on the subject hasn't yielded anything interesting. I noticed a while back that my redirects are not replacing the history in the browser - firefox in particular, but not

Re: RE : Post -> Redirect -> Get

2005-01-20 Thread Matthew Ryan
The site has some trouble. However I have downloaded the archive and run it in my own install of Tomcat and not had any problem with it. Matt Quoting Michaël Bienstein <[EMAIL PROTECTED]>: > I got an error 500 when I tested the prgtoolkit.htm application entering > "123" for the value of a ne

RE : Post -> Redirect -> Get

2005-01-20 Thread Michaël Bienstein
since you've told us to look at this web application. Michael -Message d'origine- De : Matthew Ryan [mailto:[EMAIL PROTECTED] Envoyé : jeudi 20 janvier 2005 07:00 À : Struts Users Mailing List; [EMAIL PROTECTED] Objet : Re: Post -> Redirect -> Get HI Craig, Thanks for

Re: Post -> Redirect -> Get

2005-01-19 Thread Matthew Ryan
HI Craig, Thanks for the reply. Recently I had a read of these articles on theServerSide by Michael Jouravlev, titled 'Redirect After Post' and 'Redirect After Post 2'. http://www.theserverside.com/articles/content/RedirectAfterPost/article.html http://www.theserverside.com/articles/article.tss

Re: Post -> Redirect -> Get

2005-01-19 Thread Craig McClanahan
On Thu, 20 Jan 2005 13:27:59 +1000, Matthew Ryan <[EMAIL PROTECTED]> wrote: > Want to ask if many people implement something of a PRG in the handling of > Actions (and forwards)? It is, of course, easy to implement this ... just set redirect="true" on your forwards and you get the PRG result. But

Post -> Redirect -> Get

2005-01-19 Thread Matthew Ryan
Want to ask if many people implement something of a PRG in the handling of Actions (and forwards)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]