see markup inheritance wiki page
-igor
On undefined, Milan Křápek <[EMAIL PROTECTED]> wrote:
> Hi,
> I am newbie to wicket. And I am just discovering all beautifel thing that
> wicket provides to me.
>
> I am trying to add to my pages some common look. At first i would like to
> add to my pages some common header and footer. I am able to add to my pages
> some static page by inserting code.
>
> add(new Include("header","static_source/Header.html"));
>
> But I considered to add some dynamic header which will contain some info
> from database source. So I need to include some wicket generated dynamic
> page. What I need is to call something like
>
> add(new Include("header",Header.class));
>
> where Header is standard dynamic page that is generated by wicket.
>
> Is there any way to include body from one dynamic page to another?? Or I
> must choose some another aproach?
>
> Thanks for your advices.
> Milan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>