You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "matias.blasi" <ma...@gmail.com> on 2009/10/01 15:39:43 UTC
How to intercept a specific component render-cycle for all
components
Hi,
I would like to intercept all component's @BeginRender phase. As the
components don't extend or implement any super class or interface, and the
phase is handled (optionally) by convention-named method, or annotated one,
I can't intercept the phase for all components.
Is there any way to do it? I imagine contributing a kind of listener or
something to some service responsible of managing the render phases....
Thanks guys!
MatÃas.
--
View this message in context: http://www.nabble.com/How-to-intercept-a-specific-component-render-cycle-for-all-components-tp25696885p25696885.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to intercept a specific component render-cycle for all
components
Posted by cordenier christophe <ch...@gmail.com>.
Hi
Also, if you implement a ComponentClassTransformWorker, don't forget to call
addRenderPhase on MutableComponentModel, to add the BeginRenderPhase.
2009/10/1 Thiago H. de Paula Figueiredo <th...@gmail.com>
> Em Thu, 01 Oct 2009 10:39:43 -0300, matias.blasi <ma...@gmail.com>
> escreveu:
>
> Hi,
>>
>
> Hi!
>
> I would like to intercept all component's @BeginRender phase.
>>
>
> Implement a ComponentClassTransformWorker. Look at the LogWorker sources
> for an example.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: How to intercept a specific component render-cycle for all
components
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Thu, 01 Oct 2009 10:39:43 -0300, matias.blasi <ma...@gmail.com>
escreveu:
> Hi,
Hi!
> I would like to intercept all component's @BeginRender phase.
Implement a ComponentClassTransformWorker. Look at the LogWorker sources
for an example.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org