continuetooriginaldestination remembers the url not the page, so it
redirects back to that url. the pagemap should be fine.

-igor

On Wed, Nov 5, 2008 at 12:41 AM, Wayne Pope
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> as part of my SWARM 1.4 integration I'm looking trying to get a silent login
> functionality working, and have used continueToOriginalDestination() in
> constructor of a Login page.
>
> However I saw this thread:
> http://www.nabble.com/redirect-page-in-the-constructor-td18111387.html#a18204061
>
>
> So I have implemented:
> if (!getPage().continueToOriginalDestination()) {
>           throw new
> RestartResponseException(Application.get().getHomePage());
> }
>
> This works fine however am I messing up the PageMap?
> Its not clear to me how the continueToOriginalDestination() works (looks
> like just a boolean value). Is it Ok to do this? Or is there a way to get
> the actual intercepted page class and throw a RestartResponseException?
>
> Thanks
> Wayne
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to