Sure, the EnhancementOperation stuff isn't always immediately easy to grok.

This particular class generically extends any existing renderComponent
method (if it exists), adding in logic to do other things....You could use
the same approach to do what you want.

There's a lot going on in there that's not relevant to your use case, but it
does show extending an existing non-abstract method .

http://svn.sourceforge.net/viewcvs.cgi/tacos/trunk/src/java/net/sf/tacos/ajax/impl/InjectAjaxComponentRenderWorker.java?view=markup&rev=22

On 5/26/06, Dan Adams <[EMAIL PROTECTED]> wrote:

Okay, so I'm working on this again and just by looking at the other
annotation workers it looks like there aren't any that do anything to
non-abstract methods. My annotation works on methods which have an
implementation. Is there any way to work with a method that is
non-abstract using the tapestry annotation classes?

On Thu, 2006-05-25 at 14:12 -0400, Jesse Kuhnert wrote:
> It's like that at all. The annotation workers run before the normal
> enhancement workers (like property setters and such), whoever claims the
> property first wins. (you can control when your worker is called via
> hivemind's awesome pipeline ability ).



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




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to