It is a redirect you do and the response gets rendered. Based on the stack trace something is wrong in one of the headers. Within <head></head> or <wicket:head></wicket:head>. In order to track it down: set a breakpoint at wicket.markup.html.HtmlHeaderContainer.resolve (HtmlHeaderContainer.java:196) and check what the component and markup is, just prior to the exception. Such a message usually occurs when you develop new components like Label, Panel etc. and you don't update the markup index to the next position.
Which version of Wicket are you using? Lastest HEAD? You're not using the component re-render feature, do you? Juergen On 11/8/05, Ralf Ebert <[EMAIL PROTECTED]> wrote: > Hi, > > I'm seeing this exception when leaving a page via setResponsePage > (concreteOtherPage) from a link component... The markup is alright > and the error is "missing" something from the markup of the page > which is left at that very moment (I don't even know why wicket looks > at the markup of that site again...). I couldn't boil this in a > little example so probably I'm doing something wrong. I just have no > idea what, I'm really sure that the markup is valid... Any ideas? > > wicket.markup.MarkupException: Tag expected > [markup = file:/Users/ralf/Jobs/.../somemarkupfile.html, index = 120, > current = [Raw markup]] > at wicket.markup.MarkupStream.throwMarkupException > (MarkupStream.java:277) > at wicket.markup.MarkupStream.getTag(MarkupStream.java:169) > at wicket.Component.renderComponent(Component.java:1863) > at wicket.markup.html.WebMarkupContainer.onRender > (WebMarkupContainer.java:77) > at wicket.Component.render(Component.java:1163) > at wicket.markup.html.HtmlHeaderContainer.resolve > (HtmlHeaderContainer.java:196) > at wicket.MarkupContainer.renderNext(MarkupContainer.java:1159) > at wicket.MarkupContainer.renderComponentTagBody > (MarkupContainer.java:811) > at wicket.MarkupContainer.onComponentTagBody > (MarkupContainer.java:753) > at wicket.markup.html.HtmlHeaderContainer.onComponentTagBody > (HtmlHeaderContainer.java:110) > at wicket.Component.renderComponent(Component.java:1888) > at wicket.markup.html.WebMarkupContainer.onRender > (WebMarkupContainer.java:77) > at wicket.Component.render(Component.java:1163) > at wicket.MarkupContainer.autoAdd(MarkupContainer.java:170) > at wicket.markup.html.HtmlHeaderResolver.resolve > (HtmlHeaderResolver.java:73) > at wicket.MarkupContainer.renderNext(MarkupContainer.java:1146) > at wicket.MarkupContainer.renderAll(MarkupContainer.java:779) > at wicket.Page.onRender(Page.java:788) > at wicket.Component.render(Component.java:1163) > at wicket.Page.doRender(Page.java:251) > at wicket.protocol.http.WebRequestCycle.redirectTo > (WebRequestCycle.java:276) > at wicket.RequestCycle.respond(RequestCycle.java:934) > at wicket.RequestCycle.request(RequestCycle.java:411) > at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:252) > at org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:173) > [...] > > Regards, > Ralf > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user