You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Muralidhar Y." <TC...@emirates.com> on 2005/10/18 15:26:46 UTC
RE: Overriding BaseEngine.cleanupAfterRequest In Tapestry 4 beta
11
Probably you have to set the custom engine as default engine in your
.application file.
(the following is not related to your problem but it is necessary to do for
proper application functioning.) I hope you are also calling super class
cleanup after request in your clean up after request method.
Muralidhar Y
Software Engineer,
Adastrum technologies-Nikai groups,
EmiratesGroup-I.T Division,
Dubai, UAE.
Mobile : 00971-50-2256149.
http://www.adastrumtech.com
http://www.mercator.aero
(Keep Smiling. Be happy All The Time.)
-----Original Message-----
From: Shing Hing Man [mailto:matmsh@yahoo.com]
Sent: 18 October 2005 14:09
To: tapestry Tapestry
Subject: Overriding BaseEngine.cleanupAfterRequest In Tapestry 4 beta 11
I have extended the BaseEngine and overriden the cleanupAfterRequest method.
I have checked that my custom engine is picked up by using Eclipse debug
mode.
However, it seems that the method cleanupAfterRequest method in my custom
engine is never entered.
I did a grep on cleanupAfterRequest in the Tapestry framework source code,
the grep only returns :
org/apache/tapestry/engine/AbstractEngine.java:
protected void cleanupAfterRequest(IRequestCycle
cycle)
It looks as though cleanupAfterRequest is not called
(directly) by
any program in the framework.
In Tapestry 3, the cleanAfterRequest method is called at the end of the
method AbstractEngine.service .
Does anyone know how to 'enable' cleanupAfterRequest in my custom engine in
Tap 4 ?
Thanks !
Shing
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
How much free photo storage do you get? Store your holiday snaps for FREE
with Yahoo! Photos http://uk.photos.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org