Re: getting component parent

2007-08-10 Thread Martijn Dashorst
Another option is to override onBeforeRender The problem is that the component is not added to the parent in the constructor yet: add(new Foo()); First Foo constructor is called, then the add... In your case, having an explicit contract about the parent isn't too bad though. Gives an opportunit

RE: getting component parent

2007-08-10 Thread Pantaleoni, Andrea (KCTU)
Actually I'm using use 1.2 -Original Message- From: Will Jaynes [mailto:[EMAIL PROTECTED] Sent: 10 August 2007 13:52 To: users@wicket.apache.org Subject: getting component parent Using 1.3. I have a panel which needs to create different internal components depending on who it's parent