Re: Parent page container required in child page?

2021-06-26 Thread Prag Progger
Works perfectly, thanks! Op za 26 jun. 2021 om 22:58 schreef Bas Gooren : > > Hi, > > Have a look at TransparentWebMarkupContainer, it was specifically made > for this. This does involve some (internal) magic in wicket but allows > you to simply say this.add() in child pages instead of >

Re: Parent page container required in child page?

2021-06-26 Thread Bas Gooren
Hi, Have a look at TransparentWebMarkupContainer, it was specifically made for this. This does involve some (internal) magic in wicket but allows you to simply say this.add() in child pages instead of rootContainer.add(). // Bas Verstuurd vanaf mijn iPhone > Op 26 jun. 2021 om 18:09 heeft Prag

Parent page container required in child page?

2021-06-26 Thread Prag Progger
Hi, I have a ParentPage and many sub class child pages that extend it. I decided to add a root container element to the parent page, but this breaks all ChildPage.add() method calls in the child pages. A solution is to pass the root container to every child, but that is a lot of work. Is there a