Your code Gabriel work as well without heartbeats ... ;-) Stephane
Gabriel Landais a écrit : > Michael Courcy a écrit : >> If you look at this exemple : TreeGridComponent >> http://tapestry5-treegrid.googlecode.com/svn/trunk/tapestry5-treegrid/src/main/java/org/codelutin/tapestry/components/TreeGrid.java >> >> a hearbeat.begin is called in beginRender and heartbeat.end is called >> in afterRender but you can never read a call to defer, so can you >> explain why the author of this component call begin and end ? I >> really can't explain myself. > I've based my component on > <http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourOwnComponents> > and <http://wiki.apache.org/tapestry/Tapestry5TreeComponent> without > really understanding how it heartbeat works... As I don't use defer, I > don't even know if it is useful... > Gabriel > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]