create an abstract panel that contains A's markup with the exception
of the fragment. where the fragment goes add a wicket:child tag.

then have A and B extend this panel and have their markup look like:

<wicket:extend>
custom fragment
</wicket:extend>

-igor

On Thu, Aug 13, 2009 at 8:11 AM, Thies Edeling<th...@rrm.net> wrote:
> Hi all,
>
> I have two panels, panel A & B where panel B extends panel A. When using
> panel B but without giving it it's own markup file it defaults to using A's
> markup.
> Now I only want to define a different fragment for panel B but still reuse
> all of A's markup, is this possible? The findMarkupStream method is final
> and I didn't see any hooks on to provide a different lookup strategy. Thanks
>
> gr,
> Thies
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to