<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
<wicket:head>
    <title>Wicket Examples - template</title>
</wicket:head>
<body>
    <wicket:extend>

    <h1>Template example</h1>

    <p class="dotted-box">
    This example shows two different ways of building your page up from shared parts.
    The first example uses what we commonly call 'markup inheritence',
    and the second example shows how to achieve roughly the same
    using borders.<br />
    &#160;&#160;Compare the examples and decides what works best for you. You will find that markup
    inheritance is usually easier to work with, and you'll rarely have the need to work with
    borders. But in some cases borders make sense, and can be a little bit more flexible.<br />
    &#160;&#160;Also note the use of panels and component replacement to switch the banner.
    Component replacement can be a powerful alternative to navigating between pages.
    </p>

    <p>
        <wicket:link>
        <ul>
         <li><a href="pageinheritance/Page1.html">templating using markup inheritance</a></li>
         <li><a href="border/Page1.html">templating using a border</a></li>
        </ul>
        </wicket:link>
    </p>

</wicket:extend>
</body>
</html>