Thanks, works great!
On Fri, 05 Jan 2007 10:22:47 +0100, <[EMAIL PROTECTED]> wrote:
how about AbstractComponent.prepareForRender() ?
-----Original Message-----
From: Martin Strand [mailto:[EMAIL PROTECTED]
Sent: Friday, January 05, 2007 6:08 AM
To: Tapestry users
Subject: Re: ComponentBeginRenderListener?
Thanks, but finishLoad() is also invoked regardless of
whether the component is used or not. :(
Martin
On Fri, 05 Jan 2007 03:53:44 +0100, Daniel Tabuenca
<[EMAIL PROTECTED]>
wrote:
> I haven't done this but just from looking at the IComponent
interface
> you could probably just override the finishLoad() method. Simply do
> your initialization and then call super.finishLoad().
>
> On 1/4/07, Martin Strand <[EMAIL PROTECTED]> wrote:
>> Hi guys.
>> I want to initialize some stuff before a certain component
renders,
>> but there's no ComponentBeginRenderListener.
>> What alternatives do I have? I don't want to use pageBeginRender,
>> because that gets invoked regardless of whether the
component is used
>> on the page or not (perhaps it's in an @If block) :\
>>
>> Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]