Andrei Stroescu <andrei <at> ime.ro> writes:
>
> I tried to override handleStaleSessionException in my Own Class that
> excends BasePage but dindn't work.
You need to extend BaseEngine, not BasePage.
> this is overriding method:
>
> private void handleStaleSessionException(StaleSessionException ex,
> IRequestCycle cycle, ResponseOutputStream output) throws IOException,
> ServletException
> {
>
> System.out.println("StaleSessionException!");
> SearchM search= (SearchM) cycle.getPage("SearchM");
> cycle.activate(search);
>
> }
Try:
private void handleStaleSessionException(StaleSessionException ex,
IRequestCycle cycle, ResponseOutputStream output) throws IOException,
ServletException
{
System.out.println("StaleSessionException!");
SearchM search= (SearchM) cycle.getPage("SearchM");
cycle.activate(search);
renderResponse(cycle, output);
}
--
Author of e-book for learning Tapestry (www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]