> May be I didn't explain it right. I am not looking for "markup inheritance".
> I am looking to create a reusable component, let say, BasePage, expose
> accessors to containers, define markup for it as described, and then let all
> other pages extend the class, w/o ever touching page markup/layout. Example:
>
> class MtPage extends BasePage {
>
> MyPage() {
> getHeaderComponent().doSomehting();
> getLeftNavigationPane().add(new MyPageNavigationBar());
> getMainContentPane().add(new MyPageMainContent());
> }
> }
You would indeed use panels for that. See for instance the template
example in wicket-examples.
Eelco
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user