Ah OK, well then as you suggested, I suppose he'll have to track it himself.
Erik
-Original Message-
From: Laurie Harper <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 6:21 PM
To: user@struts.apache.org
Subject: Re: Forward to current page
But the 'current request' wo
On 7/21/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Struts Dialogs are stateful, thus if you reload the same action, you
> get the same page ;-)
>
Oops, meant to say that if you reload the same action, you get a page
corresponding to current action state. Which could have changed
becaus
On 7/21/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
> Hi
>
> How can I forward to current page in Action ? I created locale change
> action and want to execute it form every page of site and always get
> back to the curent page.
Generally, action does not know about "current" page, because Action
i
But the 'current request' would be the one to the locale change action,
which wouldn't help figuring out where to go after it's complete. You need
to know what the /previous/ request was for that.
L.
[EMAIL PROTECTED] wrote:
ActionMapping.getPath might help. If not, there are various attribut
ActionMapping.getPath might help. If not, there are various attributes that
Struts sets that give you path/mapping information about the current request.
Erik
-Original Message-
From: Daniel ?a? <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 2:27 PM
To: Struts Users Mailing List
Subject: Forw
Daniel Łaś wrote:
How can I forward to current page in Action ? I created locale change
action and want to execute it form every page of site and always get
back to the curent page.
Two possibilities off the top of my head: have your action redirect/forward
based on the Referrer header (OK if
6 matches
Mail list logo