Hi java-dudes :-)
my login page listener is declared like this:
public ILink login()
{
// authenticate
// if failed:
return null;
// if ok:
return redirect(targetPageName); // causes problem!
}
@InjectObject("engine-object:page)
public abstract IEngineService getPageService();
private ILink redirect(String pageName)
{
return getPageService().getLink(getRequestCycle(), false, pageName);
}
Even though the generated ILink looks ok and the target page exists
I get an exception screen:
>> org.apache.tapestry.RedirectException <<
This makes no sense to me...
http://jakarta.apache.org/tapestry/UsersGuide/listenermethods.html
the listener is invoked inside a form like this:
<form jwcid="@Form" success="listener:login">
....
</form>
Any clue / hint / advice / tip / comment is greatly appreciated! :-))
Could this possibly be a bug?
Best regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]