I can confirm. I see the same exception after upgrade to 1.4.2 Regargds
Roman On Mon, Oct 12, 2009 at 11:37 PM, Girts Ziemelis <girts.zieme...@gmail.com> wrote: > Sorry about double post - I sent it first to the dev list accidentally :( > > I believe there is a bug in wicket 1.4.2, which stopped me from upgrading :( > I have created issue for this (quickstart added): > > https://issues.apache.org/jira/browse/WICKET-2519 > > Finally I narrowed it down to adding following to quick start, which works > fine in 1.4.1 and fails in 1.4.2: > > 2 lines to HomePage.html > <wicket:enclosure><br/><a wicket:id="logout"><wicket:message key="logout" > /></a></wicket:enclosure> > <wicket:enclosure><a wicket:id="login"><wicket:message key="login" > /></a></wicket:enclosure> > > 2 lines to HomePage.java > add(new BookmarkablePageLink<Void>("logout", HomePage.class)); > add(new BookmarkablePageLink<Void>("login", HomePage.class)); > and HomePage.properties > login=Login > logout=Logout > > I get following stack trace > > WicketMessage: Could not find child with id: login in the wicket:enclosure > > Root cause: > > org.apache.wicket.WicketRuntimeException: Could not find child with id: > login in the wicket:enclosure > at > org.apache.wicket.markup.html.internal.Enclosure.checkChildComponent(Enclosure.java:210) > at > org.apache.wicket.markup.html.internal.Enclosure.ensureAllChildrenPresent(Enclosure.java:249) > at > org.apache.wicket.markup.html.internal.Enclosure.onComponentTagBody(Enclosure.java:169) > at org.apache.wicket.Component.renderComponent(Component.java:2626) > at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512) > at org.apache.wicket.Component.render(Component.java:2457) > at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229) > at > org.apache.wicket.markup.resolver.EnclosureResolver.resolve(EnclosureResolver.java:61) > at > org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81) > at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418) > at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1528) > at org.apache.wicket.Page.onRender(Page.java:1545) > at org.apache.wicket.Component.render(Component.java:2457) > at org.apache.wicket.Page.renderPage(Page.java:914) > at > org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262) > at > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105) > at > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468) > at > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > at org.mortbay.jetty.Server.handle(Server.java:295) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) > at > org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) > > > > > > > --------------------------------------------------------------------- > 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