this will get called more than once for a component that starts out
and remains invisible for a while.

-igor


On Wed, Aug 10, 2011 at 10:25 AM, Martin Grigorov <mgrigo...@apache.org> wrote:
> MyPage.java:
> protected void onBeforeRender() {
>
>        if (!hasBeenRendered()) {
>            send(...);
>        }
>
>        super.onBeforeRender();
>    }
>
> On Wed, Aug 10, 2011 at 8:18 PM, armandoxxx <armando....@dropchop.com> wrote:
>> @pedro I know. That's why I didn't put the event call in onInitialize()
>> method ;)
>>
>> @martin: I if use on before render .. my event would be triggered everytime
>> my component renders .. so if I want 1 time event after the component is
>> initialized I have to use somekind of a flag for this event to be called
>> just once. So that's why I suggested afterInitialized() method ;)
>>
>> thank you guys for responses
>>
>> Regards
>>
>> Armando
>>
>> --
>> View this message in context: 
>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-Question-or-feature-request-afterOnInitialize-tp3732520p3733649.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
>
> --
> 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

Reply via email to