andyhot wrote:
> 
> -) new annotation @Cached along with @InjectPageLink, 
> @InjectExternalLink, e.t.c.
> see http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html
> 

I tried using this on a couple of complex dao-calculated elements
(PropertySelections, for instance), but the methods are still called
multiple times despite the presence of the annotation.  A quick look at the
source and I see that it's only good on non-abstract classes.  So how is one
supposed to use the @Cached annotation for page methods when all Tap4 pages
are abstract?

I suppose I could try creating some "helper" concrete classes to generate
these calculated elements, but it could lead to spagetti-ish code.  Any
suggestions?
-- 
View this message in context: 
http://www.nabble.com/T4%3A-New-tacos-release-tp14423354p14431033.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to