Re: Forward to current page

2005-07-21 Thread erikweber
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

Re: Forward to current page

2005-07-21 Thread Michael Jouravlev
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

Re: Forward to current page

2005-07-21 Thread Michael Jouravlev
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 "cur

Re: Forward to current page

2005-07-21 Thread Laurie Harper
t, 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: Forward to current page Hi How can I forward

Re: Forward to current page

2005-07-21 Thread erikweber
ubject: Forward to current page 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. Regards -- Daniel ?a? <[EMAIL PROTECTED]> e-direct Polska sp. z o.o. ul. 1-go Maja 9 45-0

Re: Forward to current page

2005-07-21 Thread Laurie Harper
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

Forward to current page

2005-07-21 Thread Daniel Łaś
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. Regards -- Daniel Łaś <[EMAIL PROTECTED]> e-direct Polska sp. z o.o. ul. 1-go Maja 9 45-068 Opole tel. +48 77 44