You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joel Wiegman <Jo...@btservices.com> on 2007/09/26 16:00:06 UTC
T5: Event logging
One of my "onPrepare()" methods is getting called twice and I'm not sure
where the second one is coming from.
Anyone figured out a slick way of logging the events ("action",
"prepare", "submit", "activate", "validate", etc.) that Tapestry
receives?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: T5: Event logging
Posted by Joel Wiegman <Jo...@btservices.com>.
Nothing overridden here...
In this case, the page is submitting to itself, so I think "onPrepare()"
being called twice is normal in that situation... once to process the
form submission (before the "onSuccess()") and once when a new request
is made to render the page again.
Nonetheless, I've spent time in the past trying to figure out what
events are firing and which components are firing the events. Any
logging / module decorations available for that?
-----Original Message-----
From: Howard Lewis Ship [mailto:hlship@gmail.com]
Sent: Wednesday, September 26, 2007 1:30 PM
To: Tapestry users
Subject: Re: T5: Event logging
There's a bit of ambiguity going on w.r.t. event handler methods that
are overridden in a subclass. Is this the case?
On 9/26/07, Joel Wiegman <Jo...@btservices.com> wrote:
> One of my "onPrepare()" methods is getting called twice and I'm not
> sure where the second one is coming from.
>
> Anyone figured out a slick way of logging the events ("action",
> "prepare", "submit", "activate", "validate", etc.) that Tapestry
> receives?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Partner and Senior Architect at Feature50
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Event logging
Posted by Howard Lewis Ship <hl...@gmail.com>.
There's a bit of ambiguity going on w.r.t. event handler methods that
are overridden in a subclass. Is this the case?
On 9/26/07, Joel Wiegman <Jo...@btservices.com> wrote:
> One of my "onPrepare()" methods is getting called twice and I'm not sure
> where the second one is coming from.
>
> Anyone figured out a slick way of logging the events ("action",
> "prepare", "submit", "activate", "validate", etc.) that Tapestry
> receives?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Partner and Senior Architect at Feature50
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org