« Return to Thread: Decoration of setupRender, beginRender from a service

Re: Decoration of setupRender, beginRender from a service

by Thiago H. de Paula Figueiredo :: Rate this Message:

Reply to Author | View in Thread

On Fri, Jul 3, 2009 at 11:30 AM, Sergey Didenko<sergey.didenko@...> wrote:
> Hi,

Hi!

> is it possible to make something like this?

This looks like a mixin, but mixins don't decorate components nor pages.

I suggest you to take another approach: create an annotation and write
a ComponentMethodAdvice that decorates methods annotated with that
annotation. Take a look at the Tapestry sources to find where it's
used and have some examples.

--
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Decoration of setupRender, beginRender from a service