Quantcast

Event or way to check when a component has visibility change

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Event or way to check when a component has visibility change

Brown, Berlin [GCG-PFS]
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Event or way to check when a component has visibility change

Martin Grigorov-4
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]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: Event or way to check when a component has visibility change

Brown, Berlin [GCG-PFS]
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]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Event or way to check when a component has visibility change

Igor Vaynberg-2
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]

Loading...