Hi, On Tue, Dec 17, 2013 at 11:21 AM, Decebal Suiu <decebal.s...@asf.ro> wrote:
> Hi Sebastian > > I see that in Component.internalBeforeRender() the call of onBeforeRender() > is conditioned by determineVisibility() and this explains all. > > "I think it's fine to change the hierarchy in onBeforeRender() ... , this > is > even made explicit in the source > code of MarkupContainer#onBeforeRender()" > Sorry, but I don't see explicit that I can modify the hierarchy of my > object > in onBeforeRender(). > I've updated the javadoc. > > Another question in my mind is: is it ok that call of onInitialize() is not > conditioned by isVisible? > Yes. onInitialize() (called once) and onConfigure() (called for every request) are called even for invisible components. > > By the way do you know a document, something, that explains the rendering > process? > I'm not aware of such in the public area. I do have it in the my training materials. > > Best regards, > Decebal > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/a-little-question-about-add-new-XComponent-id-setVisible-false-tp4663041p4663065.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 > >