MyPage.java:
protected void onBeforeRender() {

        if (!hasBeenRendered()) {
            send(...);
        }

        super.onBeforeRender();
    }

On Wed, Aug 10, 2011 at 8:18 PM, armandoxxx <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to