this has been discussed multiple times on this list, search the
archives. the conclusion has always been that what you want can be
accomplished by factory methods on the basepage that generate panels.

-igor


On 11/2/07, Stefan Fußenegger <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> I just stumbled on a situation where it would be useful to have two or more
> <wicket:child /> tags in a base page. Just consider a layout that consists
> of the usual footer, header, navigation, and content parts. But now, the
> content should be arranged in two columns, e.g. two different <div />s.
>
> To give a short example, the BasePage.html cloud look like this
>
> --------
> <body>
>
> <!-- some layout markup -->
>
> <div class="content_left">
> <wicket:child />
> </div>
>
> <!-- more layout markup -->
>
> <div class="content_rigt">
> <wicket:child />
> </div>
>
> <!-- even more layout markup -->
> </body>
> --------
>
> And the Child.html markup would look like this:
>
> --------
> <body>
>
> <div class="content_left">
> <wicket:extend>
> <!-- content of left column (first child) goes here -->
> </wicket:extend>
> </div>
>
> <div class="content_rigt">
> <wicket:extend>
> <!-- content of right column (second child) goes here -->
> </wicket:extend>
> </div>
> </body>
> --------
>
> Wouldn't that be a desirable feature? I tried to run the above example
> expecting to get an exception. The second wicket:child/wicket:extend pair
> was happily ignored though.
>
> Best regards, Stefan
> --
> View this message in context: 
> http://www.nabble.com/Multiple-%3Cwicket%3Achild--%3E-tags-on-a-single-base-page--tf4738673.html#a13551448
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to