I'm not sure if you can throw a RedirectException from listener
method. If you need redirect, just return ILink from listener method
which redirects your request.
@InjectObject("engine-service:page")
public abstract IEngineService getPageService();
@InjectPage("SomePage")
public abstract IPage getSomePage();
public ILink doSmth() {
return getPageService().getLink(getRequestCycle(), false, getSomePage());
}
2005/9/15, Eli Doran <[EMAIL PROTECTED]>:
> anyone else having trouble with RedirectExceptions when called from a
> listener method? mine are being caught and displayed in the exception
> page. i'm using the most recent TP4 source. it works fine from
> pageValidate methods.
>
> ~eli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]