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
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
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
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
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
I'm not an expert on this, but I can offer you a real need for defer().
Suppose you have a mixin that attaches some trivial piece of JavaScript
to components that use it; for example, a key logger. As far as the JS,
what you need to do is register a few DOM event handlers on an element -
Your code Gabriel work as well without heartbeats ... ;-)
Stephane
Gabriel Landais a écrit :
Michael Courcy a écrit :
If you look at this exemple : TreeGridComponent
Hi Chris,
Chris Lewis a écrit :
I'm not an expert on this, but I can offer you a real need for
defer(). Suppose you have a mixin that attaches some trivial piece of
JavaScript to components that use it; for example, a key logger. As
far as the JS, what you need to do is register a few DOM
Steph a écrit :
Your code Gabriel work as well without heartbeats ... ;-)
Stephane
Yes it is ;) Until you use defer, it should be useless. And as I think
that I'll not need it, I remove it heartbeat reference.
Gabriel
-
,
kirs
Michael Courcy [EMAIL PROTECTED]
07.01.2008 16:17
Bitte antworten an
Tapestry users users@tapestry.apache.org
An
Tapestry users users@tapestry.apache.org
Kopie
Thema
Re: What's heartbeat ?
Hi Chris,
Chris Lewis a écrit :
I'm not an expert on this, but I can offer you a real
Bitte antworten an
Tapestry users users@tapestry.apache.org
An
Tapestry users users@tapestry.apache.org
Kopie
Thema
Re: What's heartbeat ?
Hi Chris,
Chris Lewis a écrit :
I'm not an expert on this, but I can offer you a real need for
defer(). Suppose you have a mixin that attaches some
One reason
Michael Courcy wrote:
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
users users@tapestry.apache.org
An
Tapestry users users@tapestry.apache.org
Kopie
Thema
Re: What's heartbeat ?
Hi Chris,
Chris Lewis a écrit :
I'm not an expert on this, but I can offer you a real need for
defer(). Suppose you have a mixin that attaches some
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.
14 matches
Mail list logo