thanks, that could do the job - but is there any example of using the watch parameter? ----- Original Message ----- From: Lance Java To: users@tapestry.apache.org Sent: Monday, December 31, 2012 8:49 AM Subject: Re: implementing a Tapestry IoC annotation to cache method results
Are you aware of the @Cached annotation? When used on a component/page method, only the first invocation will invoke the method. Subsequent calls will use a cached value. http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/annotations/Cached.html http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/internal/transform/CachedWorker.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/implementing-a-Tapestry-IoC-annotation-to-cache-method-results-tp5719068p5719069.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org