you can provide factory methods in your base page like
protected abstract Component newHeader(String id, IModel model);

in the constructor of base page do:
add(newHeader("header", someModelOrNull));

and just override/implement the factory method in your concrete page
classes.

hth,
  Gerolf

On Thu, Mar 20, 2008 at 9:25 AM, Cristi Manole <[EMAIL PROTECTED]>
wrote:

> Hello,
>
> I've searched the web and I see there are a lot of hits for what I'm
> looking
> for but I cannot quite pinpoint the perfect solution (easiest) for this
> simple thing.
>
> What I need is to be able to "extend" a base page and put into some places
> some extra panels. I designed the places in the base page.
>
> For only one panel, I can use <wicket:child> tag. If I need more than one
> panel inserted, how do I do that?
>
> Thanks,
> Cristi Manole
>

Reply via email to