Re: Event or way to check when a component has visibility change
onBeforeRender() is not called for invisible components On Fri, Sep 2, 2011 at 2:41 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: With the 1.4 release of wicket, is there a way to determine when a component has changed visibility. Mainly from false to true visibility. I can use onBeforeRender or onConfigure to determine when the component is being rendered. onAfterRender will get called after it is rendered but the component is still visible. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Event or way to check when a component has visibility change
Is there another method to determine when the visibility of a component has changed. E.g. If a window is shown (through ajax possibly): Some listener Onevent() { this is visible } ... Onevent2() { this is now being changed to not visible } -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, September 02, 2011 8:45 AM To: users@wicket.apache.org Subject: Re: Event or way to check when a component has visibility change onBeforeRender() is not called for invisible components On Fri, Sep 2, 2011 at 2:41 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: With the 1.4 release of wicket, is there a way to determine when a component has changed visibility. Mainly from false to true visibility. I can use onBeforeRender or onConfigure to determine when the component is being rendered. onAfterRender will get called after it is rendered but the component is still visible. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Event or way to check when a component has visibility change
whats the usecase? -igor On Fri, Sep 2, 2011 at 6:19 AM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Is there another method to determine when the visibility of a component has changed. E.g. If a window is shown (through ajax possibly): Some listener Onevent() { this is visible } ... Onevent2() { this is now being changed to not visible } -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, September 02, 2011 8:45 AM To: users@wicket.apache.org Subject: Re: Event or way to check when a component has visibility change onBeforeRender() is not called for invisible components On Fri, Sep 2, 2011 at 2:41 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: With the 1.4 release of wicket, is there a way to determine when a component has changed visibility. Mainly from false to true visibility. I can use onBeforeRender or onConfigure to determine when the component is being rendered. onAfterRender will get called after it is rendered but the component is still visible. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org