Hi,

I'm currently migration our border classes from Wicket 1.4 to Wicket 6. I'm
not quite sure if I understand the change correctly.

We have markup that looks something like this:

</head>
<body>
    <wicket:border>
    <div class="layer1">
    <wicket:container wicket:id="container1" />
        <div class="layer2">
       <wicket:container wicket:id="container2" />
       <wicket:body />
        </div>
    </div>
    </wicket:border>
</body>
</html>

Is it sufficient to call the constructor of the border, i.e. super("id",
model), although the body is not a direct descendant? Since there is no
enclosing wicket component around the border, (except the border itself), I
don't have to be concerned about adding any container to the border. Is
this assumption correct?

Thanks
-David

Reply via email to