You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Eric Everman <ev...@precedadesign.com> on 2005/01/10 21:50:13 UTC
Preserving IExternalPage parameters during a PageRedirectException
Hi-
With Howard's help my login page is working, however, I am losing my
external page parameters after redirecting the user to the login page.
The app flow is like this:
1. User clicks on a external link to a protected (ie requires login)
page implementing IExternalLink
2. The protected page's validate() method throws a
PageRedirectException to the login page
3. The user logs in and the login page uses
ICallback.performCallback() to push the user back to their original
page
But, of course, they arrive at their intended page and the
IExternalPage listener method is never activated. Any ideas on how to
deal with this?
Thanks in advance,
Eric Everman
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Preserving IExternalPage parameters during a PageRedirectException
Posted by Eric Everman <ev...@precedadesign.com>.
Thanks Jamie - that was it.
--ee
On Jan 10, 2005, at 3:09 PM, Jamie Orchard-Hays wrote:
> Are you using ExternalCallback?
>
> Jamie
> ----- Original Message ----- From: "Eric Everman"
> <ev...@precedadesign.com>
> To: "Tapestry users" <ta...@jakarta.apache.org>
> Sent: Monday, January 10, 2005 3:50 PM
> Subject: Preserving IExternalPage parameters during a
> PageRedirectException
>
>
>> Hi-
>>
>> With Howard's help my login page is working, however, I am losing my
>> external page parameters after redirecting the user to the login
>> page.
>>
>> The app flow is like this:
>> 1. User clicks on a external link to a protected (ie requires login)
>> page implementing IExternalLink
>> 2. The protected page's validate() method throws a
>> PageRedirectException to the login page
>> 3. The user logs in and the login page uses
>> ICallback.performCallback() to push the user back to their original
>> page
>>
>> But, of course, they arrive at their intended page and the
>> IExternalPage listener method is never activated. Any ideas on how
>> to deal with this?
>>
>> Thanks in advance,
>> Eric Everman
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Preserving IExternalPage parameters during a PageRedirectException
Posted by Jamie Orchard-Hays <ja...@dang.com>.
Are you using ExternalCallback?
Jamie
----- Original Message -----
From: "Eric Everman" <ev...@precedadesign.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Monday, January 10, 2005 3:50 PM
Subject: Preserving IExternalPage parameters during a PageRedirectException
> Hi-
>
> With Howard's help my login page is working, however, I am losing my
> external page parameters after redirecting the user to the login page.
>
> The app flow is like this:
> 1. User clicks on a external link to a protected (ie requires login) page
> implementing IExternalLink
> 2. The protected page's validate() method throws a PageRedirectException
> to the login page
> 3. The user logs in and the login page uses ICallback.performCallback()
> to push the user back to their original page
>
> But, of course, they arrive at their intended page and the IExternalPage
> listener method is never activated. Any ideas on how to deal with this?
>
> Thanks in advance,
> Eric Everman
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org