Tuesday, August 7, 2007

Wicket: consistent layout using markup inheritance

clipped from www.javalobby.org

Wicket: consistent layout using markup inheritance

This
Wicket
example shows you how to create reusable page layouts and panel layouts using Wicket's
markup inheritance
. Markup inheritance enables you to add inheritance to your markup allowing you to 'fill in the blanks' in a subclass of your page or component.

In this article we show a standard strategy for laying out a page. A standard header, the main content body and a standard footer.

+----------------+
| HEADER |
+----------------+
| BODY |
+----------------+
| FOOTER |
+----------------+

0 comments: