Yes thanks,

I've done this first of course.

It's a start but it does not bring so much light in my point of view.

For instance :

it does not say what's the difference between calling formSupport.defer or heartbeat.defer, do you see the difference and the conscequences on request treatment or event treatment ?

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.

What's going on if many components on a page use heartbeat, each component have its own heartbeat system, or is there a general heartbeat rythm, and each component register to it through the call to begin, end and defer ? Can two different heartbeat join and in which circumstances? Especially if a componnent contains another component ?

Mybe heartbeat is something very simple and the word "heartbeat" make me think it's bigger but I don't find that so clear when I start to read it in real components.

Michael




Kalle Korhonen a écrit :
First result with a google search "tapestry 5 heartbeat":
http://tapestry.formos.com/nightly/tapestry5/apidocs/org/apache/tapestry/services/Heartbeat.html

Kalle

On 1/6/08, Michael Courcy <[EMAIL PROTECTED]> wrote:
Hi list,

As I start to read the code on components I often see heartbeat

@Environmental
private Heartbeat heartbeat;

with heartbeat.begin and heartbeat.end

Can someone explain the role of this object and its methods invocations
(begin and end) beacause it's not really clear in my mind.

Thanks a lot.

--
Michael Courcy
http://courcy.blogspot.com


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





--
Michael Courcy
http://courcy.blogspot.com


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

Reply via email to