Re: What about an onInitialRender method ?

2010-04-05 Thread Maarten Bosteels
Small fixes in the javadoc: 1) Add this point in time shouldn't that be At this point in time ? 2) all parents must be have been added to their parents = I would remove the be Maarten On Fri, Apr 2, 2010 at 11:09 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: from Component.java in 1.5

Re: What about an onInitialRender method ?

2010-04-03 Thread Joseph Pachod
at runtime. ++ _ From: mbrictson [mailto:m...@55minutes.com] To: users@wicket.apache.org Sent: Sat, 03 Apr 2010 01:49:49 +0200 Subject: Re: What about an onInitialRender method ? Good example. Thanks for clarifying. igor.vaynberg wrote: one usecase is when you want the user

What about an onInitialRender method ?

2010-04-02 Thread Joseph Pachod
hi The other day, I was busy creating reusable components. To make them safe, I used what I believe is a wicket good practices: adding the components in onBeforeRender. In fact, it's not just in onBeforeRender, it's rather : @Override protected void onBeforeRender() {

Re: What about an onInitialRender method ?

2010-04-02 Thread Igor Vaynberg
from Component.java in 1.5 (trunk) /** * Callback method invoked after the component was added to its parent AND you can walk up the * hierarchy up until the Page. That is, all parents must be have been added to their parents as * well. Add this point in time

Re: What about an onInitialRender method ?

2010-04-02 Thread Joseph Pachod
:09:27 +0200 Subject: Re: What about an onInitialRender method ? from Component.java in 1.5 (trunk) /** * Callback method invoked after the component was added to its parent AND you can walk up the * hierarchy up until the Page. That is, all parents must be have been added

Re: What about an onInitialRender method ?

2010-04-02 Thread mbrictson
you think of that ? thanks in advance joseph -- View this message in context: http://old.nabble.com/What-about-an-onInitialRender-method---tp28122954p28123309.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: What about an onInitialRender method ?

2010-04-02 Thread Igor Vaynberg
a few keystrokes and bring some clarity. What do you think of that ? thanks in advance joseph -- View this message in context: http://old.nabble.com/What-about-an-onInitialRender-method---tp28122954p28123309.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: What about an onInitialRender method ?

2010-04-02 Thread mbrictson
newCounter(String id) { return new Label(id, ); } } because you are calling an overridable method from constructor -- View this message in context: http://old.nabble.com/What-about-an-onInitialRender-method---tp28122954p28123955.html Sent from the Wicket - User mailing list archive