Re: Extending two panels with combined markup

2009-08-13 Thread Igor Vaynberg
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:


custom fragment


-igor

On Thu, Aug 13, 2009 at 8:11 AM, Thies Edeling 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



Extending two panels with combined markup

2009-08-13 Thread Thies Edeling

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