|
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. |
|
onBeforeRender() is not called for invisible components
On Fri, Sep 2, 2011 at 2:41 PM, Brown, Berlin [GCG-PFS] <[hidden email]> 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: [hidden email] For additional commands, e-mail: [hidden email] |
|
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:[hidden email]] Sent: Friday, September 02, 2011 8:45 AM To: [hidden email] 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] <[hidden email]> 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: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
whats the usecase?
-igor On Fri, Sep 2, 2011 at 6:19 AM, Brown, Berlin [GCG-PFS] <[hidden email]> 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:[hidden email]] > Sent: Friday, September 02, 2011 8:45 AM > To: [hidden email] > 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] <[hidden email]> 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: [hidden email] > For additional commands, e-mail: [hidden email] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
| Powered by Nabble | Edit this page |
