so headerLogo is a Panel? you cannot do that, you cannot have markup with wicket:ids inside a tag that you want to be replaced with a panel.
-igor On Sat, Oct 24, 2009 at 12:16 AM, Marc Ende <mli...@e-beyond.de> wrote: > Hi, > > I had worked on several projects with 1.3 and now I have changed to > 1.4.2 (and now to 1.4.3). > After that I have a strange error when I'm using panels: > > WicketMessage: close tag not found for tag: <div id="logo" > wicket:id="headerLogo">. Component: [MarkupContainer [Component id = > headerLogo]] > > This happens within a panel which looks like this: > > <wicket:panel> > <div id="header"> > <div id="logo" wicket:id="headerLogo"> > <h1><a href="#"><wicket:message > key="services">services</wicket:message></a></h1> > <p><a href="http://xxx.yyy.zzz/"><wicket:message > key="projectmanagement">projectmanagement</wicket:message></a></p> > </div> > <div id="menu" wicket:id="headerMenu"> > <ul> > <li class="current_page_item"><a href="#">Home</a></li> > <li><a href="#">Item 1</a></li> > <li><a href="#">Item 1</a></li> > <li><a href="#">Item 2</a></li> > <li class="last"><a href="#">Contact</a></li> > </ul> > </div> > </div> > </wicket:panel> > > If I comment the contents of the div's (which have wicket:id) > everything works fine. > > <wicket:panel> > <div id="header"> > <div id="logo" wicket:id="headerLogo"> > <!-- h1><a href="#"><wicket:message > key="services">services</wicket:message></a></h1> > <p><a href="http://xxx.yyy.zzz/"><wicket:message > key="projectmanagement">projectmanagement</wicket:message></a></p --> > </div> > <div id="menu" wicket:id="headerMenu"> > <!-- ul> > <li class="current_page_item"><a href="#">Home</a></li> > <li><a href="#">Item 1</a></li> > <li><a href="#">Item 1</a></li> > <li><a href="#">Item 2</a></li> > <li class="last"><a href="#">Contact</a></li> > </ul --> > </div> > </div> > </wicket:panel> > > I'm not sure but I thought that the content of the div's (with > wicket:id) will be replaced with the contents of the panel. So I would > expect that this should work. (And I thought that I had used it this > way on wicket 1.3). > > Does anybody have an idea? > > Marc > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org