Thanks for your help Guys. It looks the tapestry IoC doesn't have a
handle on the ComponentAssemblerSource so am trying a different avenue.
Jack
On 05/09/11 13:03, Steve Eynon wrote:
The following should list all services that you're able to advise (I
just tried it on T5.3 but saw no Componen
The following should list all services that you're able to advise (I
just tried it on T5.3 but saw no ComponentAssemblerSource):
@Advise
@Match("*")
public static void siteKeyPageCache(MethodAdviceReceiver receiver) {
System.err.println(receiver.getInterface().getName());
}
If you really
On Mon, 05 Sep 2011 06:58:59 -0300, jack wrote:
Hi All,
Hi!
I'm trying to advise the PageLoader service because we have some custom
page caching requirements.
It won't work. First, it's an internal service, so you shouldn't rely on
it at all. Second, and most important, PageLoader just
Hi Jens,
Thanks for your suggestions but the caching I'm referring to is the
inbuilt cache Tapestry uses for the ComponentAssemblers. Currently (or
in 5.2.6) it caches these ComponentAssemblers based on classname and
Locale.
I need to cache these based on classname, locale and another-key. T
Hi Jack!
I wonder what kind of page data you want to cache which is not
provideable by a service?
a) why not using a spring singleton or a plain java static?
b) You can bind a service implementation (without interface) in your app
module and inject it to your page if you're not using a spri
Hi All,
I'm trying to advise the PageLoader service because we have some custom
page caching requirements. I've tried the following but it doesn't seem
to get invoked. Is it even possible to advise this service? If so can
anyone tell me what I'm doing wrong?
@Advise(serviceInterface = Com