After logging out from my tapestry 4 app. I'd like to redirect to an arbitrary URL. I'm doing my usual Redirection exception thing but to no avail. Googling did not bring a solution either. Anyone care to give a suggestion?

My pageBeginRender concludes with:

        setFinalTarget("http://www.google.com/";);
                
                if (getFinalTarget()!=null) {
                        throw new RedirectException(getFinalTarget());
                }


But then invoking the page yields:

org.apache.tapestry.RedirectException: redirectLocation: http://www.google.com/

Stack Trace:
        
nl.chess.meetingpoint.lgb.pages.LoggedOut.pageBeginRender(LoggedOut.java:77)
        
org.apache.tapestry.AbstractPage.firePageBeginRender(AbstractPage.java:409)
        org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:244)
        org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.


Why?

Cheers,
  Marnix


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

Reply via email to