Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-20 Thread Steve Eynon
After trying out a few examples I find the following does exactly the same job but is much clearer to anyone reading the code: > Thiago H. de Paula Figueiredo >> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and >> instructor >> Owner, Ars Machina Tecnologia d

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Steve Eynon
Nice one - I may have overlooked the onBeginRender() vs beginRender(). Jira created: https://issues.apache.org/jira/browse/TAP5-1707 Steve. On 20 October 2011 01:17, Thiago H. de Paula Figueiredo wrote: > On Wed, 19 Oct 2011 13:59:08 -0200, Steve Eynon > wrote: > >> Right, sweet! I get you! >

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Thiago H. de Paula Figueiredo
On Wed, 19 Oct 2011 13:59:08 -0200, Steve Eynon wrote: Right, sweet! I get you! When the Any component renders as a whole, it receives the render phase methods which are picked up the Mixin. The Mixin then fires its own component events with the same name, which bubble up the component hier

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Steve Eynon
Right, sweet! I get you! When the Any component renders as a whole, it receives the render phase methods which are picked up the Mixin. The Mixin then fires its own component events with the same name, which bubble up the component hierarchy. That makes sense, I'll try it out tomorrow... (By th

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Thiago H. de Paula Figueiredo
On Wed, 19 Oct 2011 11:46:09 -0200, Steve Eynon wrote: Hello, Hi! Does anyone have any examples on how to use the RenderNotification Mixin? I would like some pre and post render events to be fired on a component after it's handled an Ajax event and returned a Zone which it contains. Docum

[T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Steve Eynon
Hello, Does anyone have any examples on how to use the RenderNotification Mixin? I would like some pre and post render events to be fired on a component after it's handled an Ajax event and returned a Zone which it contains. Documentation points to the RenderNotification Mixin but I can't figure