> There is something wrong with your <wicket:head> tags. This was my very first idea. To check it I just removed all my <wicket:head> and <head> tags from the files and tried again. Same result, the first time it loads fine, if I reload it fails with the same error.
> Without any more details it'll be difficult to help. I sent this message yesterday, with the files zipped but the server send me a warning that .zip extension are been blocked. I am sending it again and attaching the zipped files but I am changing their extension to isZip.: border/PageLayout.java border/PageLayout.html page/Index.java page/Index.html page/base/MyPage.java page/base/MyPage.html I hope it helps. If you need any other file or info, please tell me. > Header support is still fairly new and some parts are still under review. OK. > Under the hood a lot has changed in 1.2 and I'd suggest you try 1.2 > for better header support. I will download it and try. Thanks a lot. -- __ André Matheus > There is something wrong with your <wicket:head> tags. There must just > be one in each panel/border markup file. They are not allowed in > Pages. Without any more details it'll be difficult to help. Header > support is still fairly new and some parts are still under review. > Under the hood a lot has changed in 1.2 and I'd suggest you try 1.2 > for better header support. > > Juergen On 2/1/06, Andre Matheus <[EMAIL PROTECTED]> wrote: > I am using wicket 1.1.1, but this error was there also with version 1.1. > I did not test with version 1.0. > > I created just a simple Index page, extending a base page which > includes a border component to define a layout. When I access the page > everything goes fine, but If I reload the page, the following error > occurs: > > Unexpected RuntimeException > > java.lang.IllegalArgumentException: A child with id '_header' already exists: > [MarkupContainer [Component id = pageLayout, page = page.Index, path = > 0:pageLayout.PageLayout, isVisible = true, isVersioned = true]] > at wicket.MarkupContainer.add(MarkupContainer.java:135) > at page.base.MyPage.add(MyPage.java:35) > at wicket.MarkupContainer.autoAdd(MarkupContainer.java:168) (...8<...) - Hide quoted text - > Component Tree > > Component tree for [Page class = page.Index, id = 0]: > # Path Type Model Object > 1 pageLayout border.PageLayout > 2 pageLayout:_body wicket.markup.html.BodyOnLoadContainer > 3 pageLayout:_child wicket.markup.html.WebMarkupContainer > 4 pageLayout:_child:_extend > wicket.markup.html.WebMarkupContainer > 5 pageLayout:_header wicket.markup.html.HtmlHeaderContainer > > If needed I can post zipped here the 6 files used (3 java and 3 html). > > Thanks in advance, -- __ André Matheus
PageLayout.isZip
Description: Binary data
Index.isZip
Description: Binary data
MyPage.isZip
Description: Binary data
