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
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
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
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...@
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:
>
> 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
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
> 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
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
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
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
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 >> type="redirectAction"> does
>> 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
> implementation, that suggest me that an http redirection
> _
> 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
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
i.apache.org/WW/redirect-after-post.html
There are other sites as well which has examples and will help you to
use Redirect-after-post
-Original Message-
From: maestro [mailto:maestr...@gmail.com]
Sent: 15 April 2009 15:38
To: Struts Users Mailing List
Subject: Redirect After Post
He
Have a lot at this:
http://cwiki.apache.org/WW/redirect-after-post.html
There are other sites as well which has examples and will help you to
use Redirect-after-post
-Original Message-
From: maestro [mailto:maestr...@gmail.com]
Sent: 15 April 2009 15:38
To: Struts Users Mailing List
Hello,
We are in the process of looking at Struts2.
Here is a pattern:
http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost
Generally the web page has lists, inputted data and possible error messages.
In case of errors, the list items and selections, and inputted data must be
.
2008/12/9 Dirk Forchel <[EMAIL PROTECTED]>:
>
> Redirect after post is a common pattern to hand control overt to another
> resource. The most common reason for using a redirect is the need to change
> the URL shown in the browser and to prevent the user to re-submit the
>
Redirect after post is a common pattern to hand control overt to another
resource. The most common reason for using a redirect is the need to change
the URL shown in the browser and to prevent the user to re-submit the
previous request by clicking the reload-button.
example config in struts.xml
PROTECTED]
Sent: 14 June 2007 19:48
To: user@struts.apache.org
Subject: [S2] actionmessages not surviving between requests
(redirect-after-post)
Hi,
I'm trying to develop my app following the redirect-after-post pattern. Of
course s:actionmessages do not survive between requests, but this is th
Hi,
I'm trying to develop my app following the redirect-after-post
pattern. Of course s:actionmessages do not survive between requests,
but this is the main paradigm behind the pattern (showing the page by
doing _other_ request).
The question is which are my options to make my actionMes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Perryn,
Fowler, Perryn wrote:
> If I have a form that I want to submit with a POST, I want the
> response to this to always be a REDIRECT to a GET.
>
> I probably want this even in the case of validation failures that
> cause the form to be re-displa
,
I want to use the redirect after post pattern in order to have a web app that is well behaved when the user hits back, refresh etc etc
I also want to use the Struts 2 validation framework.
At first glance though, the two seem incompatible:
If I have a form that I want to submit with a
Hi,
I want to use the redirect after post pattern in order to have a web app that
is well behaved when the user hits back, refresh etc etc
I also want to use the Struts 2 validation framework.
At first glance though, the two seem incompatible:
If I have a form that I want to
Hi,
I want to use the redirect after post pattern in order to have a web app that
is well behaved when the user hits back, refresh etc etc
I also want to use the Struts 2 validation framework.
At first glance though, the two seem incompatible:
If I have a form that I want to submit with a
You may want to take a look at the Struts Dialogs:
http://struts.sourceforge.net/strutsdialogs/ It is a new development
within Struts Application project.
It was me who wrote the article on TSS, and I am gradually making
these ideas into usable components. DialogAction is an action which
uses POST
An option is to add the action message as a redirect parameter. This
was supported in an earlier ActionRedirect version I was using in my
Struts projects (http://www.rabago.net/struts/redirect/), but it was
decided that the version that went into Struts core not include this
feature.
Hubert
On 6
Hi all,
I'm trying to implement the PRG (post-redirect-get) pattern which was
published in theserverside.
The magic key is to use redirect="true" in the local forward like this:
it works very nice, no more double submit problem when user press Back and
Forward button. But the problem is I los
29 matches
Mail list logo